Closed Bug 1317303 Opened 8 years ago Closed 8 years ago

Deploy changes to OrangeFactor bug commenter & mailer

Categories

(Tree Management Graveyard :: OrangeFactor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Deployed:

[webtools@brasstacks1.dmz.scl3 ~]$ cd ~/apps/orangefactor/src/orangefactor/ && hg pull -uv
pulling from https://hg.mozilla.org/automation/orangefactor/
searching for changes
all local heads known remotely
adding changesets
adding manifests
adding file changes
added 4 changesets with 7 changes to 3 files
resolving manifests
getting templates/bug_comment.template
getting woo_commenter.py
getting woo_mailer.py
3 files updated, 0 files merged, 0 files removed, 0 files unresolved


We'll want to check the scripts both run successfully the next time they are scheduled:

[webtools@brasstacks1.dmz.scl3 orangefactor]$ crontab -l
OFHOME=/home/webtools/apps/orangefactor
VENV_PYTHON=/home/webtools/apps/orangefactor/bin/python

# Run every four hours, at half-past the hour.
30 0,4,8,12,16,18,20 * * * $VENV_PYTHON $OFHOME/src/bzcache/bzcache/bz_cache_refresh.py >> $OFHOME/bzcache_refresh.log 2>&1

# Run every Tuesday at 02:00 UTC.
0 2 * * tue     $OFHOME/src/orangefactor/woo_mailer.sh >> $OFHOME/woo_mailer.log 2>&1

# Run every day except Monday, at 01:00 UTC.
0 1 * * 0,2,3,4,5,6     cd $OFHOME/src/orangefactor && $VENV_PYTHON woo_commenter.py >> $OFHOME/woo_commenter-daily.log 2>&1

# Run every Monday at 01:00 UTC.
0 1 * * mon     cd $OFHOME/src/orangefactor && $VENV_PYTHON woo_commenter.py --weekly >> $OFHOME/woo_commenter-weekly.log 2>&1
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.