From: Silvio Rhatto Date: Sat, 5 Mar 2016 14:19:30 +0000 (-0300) Subject: Fix cronjobs X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8e829db825d8bbf3998e0066ab4dcd504d53ea8d;p=puppet-drupal.git Fix cronjobs --- 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,