]> git.openstreetmap.org Git - chef.git/commitdiff
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 35e780b2148fc17efc23fdebe857f2d0aa044eb4..b9fbe5dabf449faf31b776d7fcb553058f91c0c9 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/