aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-08-01 19:24:45 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-08-01 19:24:45 +0200
commit94056df5fe45991d80fd85cb71713d7c310512a9 (patch)
tree41031f5192d89df7125513c10fb54619c35ea020
parent2df204f8965dcd410a69f4b1a65a60403d581175 (diff)
downloadpuppet-94056df5fe45991d80fd85cb71713d7c310512a9.tar
puppet-94056df5fe45991d80fd85cb71713d7c310512a9.tar.gz
puppet-94056df5fe45991d80fd85cb71713d7c310512a9.tar.bz2
puppet-94056df5fe45991d80fd85cb71713d7c310512a9.tar.xz
puppet-94056df5fe45991d80fd85cb71713d7c310512a9.zip
Try to fix cron
-rwxr-xr-xmodules/bugzilla/manifests/init.pp4
1 files 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,