From 94056df5fe45991d80fd85cb71713d7c310512a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Tue, 1 Aug 2017 19:24:45 +0200 Subject: Try to fix cron --- modules/bugzilla/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 0e7466e1..71aadabb 100755 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -173,14 +173,14 @@ class bugzilla { } cron { 'collectstats': - command => "$bugzilla_location/collectstats.pl", + command => "cd $bugzilla_location && collectstats.pl", user => 'root', hour => 2, minute => 30, } cron { 'clean-bug-user-last-visit': - command => "$bugzilla_location/clean-bug-user-last-visit.pl", + command => "cd $bugzilla_location && clean-bug-user-last-visit.pl", user => 'apache', hour => 3, minute => 0, -- cgit v1.2.1