aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-05 11:19:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-05 11:19:30 -0300
commit8e829db825d8bbf3998e0066ab4dcd504d53ea8d (patch)
treeb3109061a724d3e4e321523c5629186344e743af
parent2e83bfb7dcca150bcc86cb127d19181d3bf92599 (diff)
downloadpuppet-drupal-8e829db825d8bbf3998e0066ab4dcd504d53ea8d.tar.gz
puppet-drupal-8e829db825d8bbf3998e0066ab4dcd504d53ea8d.tar.bz2
Fix cronjobs
-rw-r--r--manifests/maintenance.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/maintenance.pp b/manifests/maintenance.pp
index 097ebcc..16f4c6a 100644
--- a/manifests/maintenance.pp
+++ b/manifests/maintenance.pp
@@ -1,7 +1,7 @@
class drupal::maintenance {
# Run drupal cron
cron { "drupal-cron":
- command => "/usr/local/sbin/drupal cron &> /dev/null",
+ command => "/usr/local/bin/drupal cron &> /dev/null",
user => root,
hour => "*/1",
minute => "15",
@@ -11,7 +11,7 @@ class drupal::maintenance {
# Keep themes and modules up-to-date
cron { "drupal-update":
- command => "/usr/local/sbin/drupal cron-update",
+ command => "/usr/local/bin/drupal cron-update",
user => root,
# Run once a week after security releases (usually on Wednesdays)
weekday => 5,