Creates a cron job to process matomo data
This commit is contained in:
parent
cccdfde5b7
commit
b9f0a04e93
|
@ -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…
Reference in New Issue