summaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-03-04 15:39:06 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-03-04 15:39:06 +0000
commitf582a06a4dcd03c180dfcc52c5bfcdbb900e4623 (patch)
tree628d7e7b911223e54c016c8f02744b78e3506115 /cron
parent9a6943eed25b937cbb90d0e35f65e375e404d589 (diff)
downloadaskbot-f582a06a4dcd03c180dfcc52c5bfcdbb900e4623.tar.gz
askbot-f582a06a4dcd03c180dfcc52c5bfcdbb900e4623.tar.bz2
askbot-f582a06a4dcd03c180dfcc52c5bfcdbb900e4623.zip
Very simple robots.txt module.
A couple of typos on templates.
Diffstat (limited to 'cron')
-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