Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Clean up deleted sites from clickhouse cron (#4065)
Karl-Aksel Puulmann9f6ea00a721e
diff --git a/config/runtime.exs b/config/runtime.exsindex 9cebd88ade..12e17488ea 100644--- a/config/runtime.exs+++ b/config/runtime.exs@@ -524,7 +524,9 @@ cloud_cron = [# Every midnight{"0 0 * * *", Plausible.Workers.LockSites},# Daily at 8- {"0 8 * * *", Plausible.Workers.AcceptTrafficUntil}+ {"0 8 * * *", Plausible.Workers.AcceptTrafficUntil},+ # First sunday of the month, 4:00 UTC+ {"0 4 1-7 * SUN", Plausible.Workers.ClickhouseCleanSites}]crontab = if(is_selfhost, do: base_cron, else: base_cron ++ cloud_cron)