Silence drupal cron job
* modules/drupal/manifests/init.pp: Since the cron URL can return content, write it to the bitbucket so that we don't annoy sysadmins with cronspam every five minutes. Change-Id: I9df9510eb14e89c380dadba98cd4834a6a83fffc
This commit is contained in:
parent
b708dbf7bb
commit
0f8afeb8ad
@ -244,7 +244,7 @@ class drupal (
|
|||||||
|
|
||||||
cron { $site_name:
|
cron { $site_name:
|
||||||
name => "${site_name}.cron",
|
name => "${site_name}.cron",
|
||||||
command => "wget -O - -q -t 1 ${$site_base_url}/cron.php?cron_key=${$conf_cron_key}",
|
command => "wget -O /dev/null -q -t 1 ${$site_base_url}/cron.php?cron_key=${$conf_cron_key}",
|
||||||
user => root,
|
user => root,
|
||||||
minute => '*/5',
|
minute => '*/5',
|
||||||
require => [
|
require => [
|
||||||
@ -252,4 +252,4 @@ class drupal (
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user