From: Silvio Rhatto Date: Tue, 9 Mar 2010 20:23:11 +0000 (-0300) Subject: Adding drupal cronjob X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6906dfdc50e26589b3384ca22c8ba2dee7247328;p=puppet-drupal.git Adding drupal cronjob --- diff --git a/manifests/init.pp b/manifests/init.pp index d5d0591..4068c71 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -22,4 +22,15 @@ class drupal inherits pear { group => root, mode => 755, } + + # Run drupal cron + cron { "drupal-cron": + command => "/usr/local/sbin/drupal cron &> /dev/null", + user => root, + hour => "*", + minute => "10", + weekday => "*", + ensure => present, + require => File['/usr/local/sbin/drupal'], + } }