Browse Source

Creates a cron job to process matomo data

master
7u83 2 years ago
parent
commit
b9f0a04e93
  1. 10
      manifests/init.pp

10
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"
}
}
Loading…
Cancel
Save