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",
# 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,