Creates a cron job to process matomo data

This commit is contained in:
7u83 2020-10-16 13:06:21 +02:00
parent cccdfde5b7
commit b9f0a04e93
1 changed files with 10 additions and 0 deletions

View File

@ -285,4 +285,14 @@ class wmdeit_piwik(
}
cron {"refresh matomo":
ensure => present,
hour => '*',
minute => '*/15',
command => "/usr/bin/php $wwwdir/piwik/console core:archive --url https://$domain",
user => "$wwwuser"
}
}