]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Fix cronjobs
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 5 Mar 2016 14:19:30 +0000 (11:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 5 Mar 2016 14:19:30 +0000 (11:19 -0300)
manifests/maintenance.pp

index 097ebccbe0111a1f42d8c8c305e41fe327f24d79..16f4c6aa78be075420311b4bd966eeb35c063f17 100644 (file)
@@ -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,