summaryrefslogtreecommitdiffstats
path: root/forum/cron/once_award_badges
blob: 069656caaf6e574923dfc5d1767bd15de07285be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
PYTHONPATH=/path/to/dir_above_askbot_site
export PYTHONPATH
PROJECT_ROOT=$PYTHONPATH/askbot_site
python manage.py once_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1


#!/bin/sh
PYTHONPATH=/usr/local/sites/askbot_production
export PYTHONPATH
PROJECT_ROOT=$PYTHONPATH/robofaqs
python $PROJECT_ROOT/manage.py once_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1
python $PROJECT_ROOT/manage.py multi_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1
python $PROJECT_ROOT/manage.py send_email_alerts >> $PROJECT_ROOT/log/cron_email.log 2>&1