Send webalizer cronjob mails to root
This commit is contained in:
parent
148e50dba7
commit
e58965fc00
1 changed files with 7 additions and 6 deletions
|
@ -749,6 +749,7 @@ class apache::webalizer {
|
||||||
|
|
||||||
cron { "www-webalizer":
|
cron { "www-webalizer":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
environment => "MAILTO=root",
|
||||||
command => "/usr/local/sbin/www-webalizer.sh",
|
command => "/usr/local/sbin/www-webalizer.sh",
|
||||||
user => $operatingsystem ? {
|
user => $operatingsystem ? {
|
||||||
debian => root,
|
debian => root,
|
||||||
|
|
Loading…
Add table
Reference in a new issue