Templated: Remove timer for g.timed_templates
[reddit.git] / upstart / reddit-job-subscribers.conf
blobe184668c8e4d60ece9f1b7c85a9a90dce2c11f6d
1 description "send subscriber stats to traffic"
3 manual
4 task
5 stop on reddit-stop or runlevel [016]
7 nice 10
9 script
10     . /etc/default/reddit
11     wrap-job paster run $REDDIT_INI -c 'from r2.models.subreddit import SubscriptionsByDay; SubscriptionsByDay.write_counts(days_ago=1); SubscriptionsByDay.write_counts(days_ago=0)'
12 end script