diff --git a/manifests/init.pp b/manifests/init.pp index bf550ef..1e96e6a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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" + } + + + }