Modernise piwik archiving
authorTom Hughes <tom@compton.nu>
Wed, 20 Mar 2019 08:36:34 +0000 (08:36 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 20 Mar 2019 08:36:34 +0000 (08:36 +0000)
cookbooks/piwik/templates/default/cron.erb

index 35e780b..b9fbe5d 100644 (file)
@@ -1 +1 @@
-5 * * * * www-data /usr/bin/php /srv/piwik.openstreetmap.org/misc/cron/archive.php --url=https://piwik.openstreetmap.org/ > /dev/null
+5 * * * * www-data /usr/bin/php /srv/piwik.openstreetmap.org/console core::archive --quiet --url=https://piwik.openstreetmap.org/