From 6906dfdc50e26589b3384ca22c8ba2dee7247328 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 9 Mar 2010 17:23:11 -0300 Subject: Adding drupal cronjob --- manifests/init.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'manifests') 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'], + } } -- cgit v1.2.3