diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-09 17:23:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-09 17:23:11 -0300 |
commit | 6906dfdc50e26589b3384ca22c8ba2dee7247328 (patch) | |
tree | 3c92cfa55b4726cd68741164b9c043ebac163e5e | |
parent | 3e1f6d3f414b809ba4ed1631d49dbb428f79ee7b (diff) | |
download | puppet-drupal-6906dfdc50e26589b3384ca22c8ba2dee7247328.tar.gz puppet-drupal-6906dfdc50e26589b3384ca22c8ba2dee7247328.tar.bz2 |
Adding drupal cronjob
-rw-r--r-- | manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
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'], + } } |