Jgreen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/81941


Change subject: oops, cron.d not crontab. fixed
......................................................................

oops, cron.d not crontab. fixed

Change-Id: I462553278b775bed53461bcc8168c72c2e22e9d4
---
M files/otrs/crontab.otrs
1 file changed, 12 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/41/81941/1

diff --git a/files/otrs/crontab.otrs b/files/otrs/crontab.otrs
index b6e684d..8482f29 100644
--- a/files/otrs/crontab.otrs
+++ b/files/otrs/crontab.otrs
@@ -1,26 +1,28 @@
-MAILTO="root@localhost"
+# installed by puppet, see puppet/files/otrs/crontab.otrs
+
+MAILTO="r...@wikimedia.org"
 
 # delete expired cache every Sunday AM
-20 0 * * 0  $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null
-30 0 * * 0  $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
+20 0 * * 0   otrs /opt/otrs/bin/otrs.DeleteCache.pl --expired >> /dev/null
+30 0 * * 0   otrs /opt/otrs/bin/otrs.LoaderCache.pl -o delete >> /dev/null
 
 # start generic agent (db) every 10 min
-*/10 * * * *    $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
+*/10 * * * *     otrs /opt/otrs/bin/otrs.GenericAgent.pl -c db >> /dev/null
 
 # start generic agent (non-db) every 20 min
-*/20 * * * *    $HOME/bin/otrs.GenericAgent.pl >> /dev/null
+*/20 * * * *     otrs /opt/otrs/bin/otrs.GenericAgent.pl >> /dev/null
 
 # check for pending jobs every 120 min
-45 */2 * * *    $HOME/bin/otrs.PendingJobs.pl >> /dev/null
+45 */2 * * *     otrs /opt/otrs/bin/otrs.PendingJobs.pl >> /dev/null
 
 # check daily the spool directory of OTRS
-10 0 * * *  $HOME/bin/otrs.cleanup >> /dev/null
+10 0 * * *   otrs /opt/otrs/bin/otrs.cleanup >> /dev/null
 
 # rebuild ticket index for OTRS daily
-01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
+01 01 * * *  otrs /opt/otrs/bin/otrs.RebuildTicketIndex.pl >> /dev/null
 
 # delete old/idle session ids every 2 hours
-55 */2 * * *    $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null
+55 */2 * * *     otrs /opt/otrs/bin/otrs.DeleteSessionIDs.pl --expired >> 
/dev/null
 
 # unlock old locked tickets hourly
-35 * * * *  $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
+35 * * * *   otrs /opt/otrs/bin/otrs.UnlockTickets.pl --timeout >> /dev/null

-- 
To view, visit https://gerrit.wikimedia.org/r/81941
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I462553278b775bed53461bcc8168c72c2e22e9d4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jgreen <jgr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to