]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/civicrm/recipes/default.rb
Run civicrm batch jobs every 15 minutes
[chef.git] / cookbooks / civicrm / recipes / default.rb
index fc3c77e91e08e2f8276ef82caf0a954998747414..dce923a0633f255d5e69c32f092763be674d21ec 100644 (file)
@@ -126,10 +126,18 @@ file "#{civicrm_directory}/civicrm.settings.php" do
   content settings
 end
 
+template "/etc/cron.d/osmf-crm" do
+  source "cron.erb"
+  owner "root"
+  group "root"
+  mode 0644
+  variables :directory => civicrm_directory, :passwords => passwords
+end
+
 template "/etc/cron.daily/osmf-crm-backup" do
   source "backup.cron.erb"
-  owner "wordpress"
-  group "wordpress"
+  owner "root"
+  group "root"
   mode 0750
   variables :passwords => passwords
 end