summaryrefslogtreecommitdiffstats
path: root/cron/once_award_badges
diff options
context:
space:
mode:
Diffstat (limited to 'cron/once_award_badges')
-rwxr-xr-xcron/once_award_badges9
1 files changed, 9 insertions, 0 deletions
diff --git a/cron/once_award_badges b/cron/once_award_badges
index 79d02f61..43ee2249 100755
--- a/cron/once_award_badges
+++ b/cron/once_award_badges
@@ -3,3 +3,12 @@ PYTHONPATH=/path/to/dir_above_osqa_site
export PYTHONPATH
PROJECT_ROOT=$PYTHONPATH/osqa_site
python manage.py once_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1
+
+
+#!/bin/sh
+PYTHONPATH=/usr/local/sites/osqa_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 \ No newline at end of file