Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Upstart job to update inventory prediction metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
shlurbee committed Oct 15, 2012
1 parent 11481c3 commit bdf0e81
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions upstart/reddit-job-update_promo_metrics.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description "pulls promotion stats from traffic db and writes them to cassandra"

manual
task
stop on reddit-stop or runlevel [016]

nice 10

script
. /etc/default/reddit
wrap-job paster run $REDDIT_INI -c 'from r2.lib import inventory; inventory.update_prediction_data()'
end script

0 comments on commit bdf0e81

Please sign in to comment.