summaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
Diffstat (limited to 'cron')
-rwxr-xr-xcron/multi_award_badges4
-rwxr-xr-xcron/multi_award_badges_virtualenv4
-rwxr-xr-xcron/once_award_badges6
-rwxr-xr-xcron/once_award_badges_virtualenv4
-rw-r--r--cron/send_email_alerts4
-rw-r--r--cron/send_email_alerts_virtualenv4
6 files changed, 13 insertions, 13 deletions
diff --git a/cron/multi_award_badges b/cron/multi_award_badges
index b34abd09..3d768772 100755
--- a/cron/multi_award_badges
+++ b/cron/multi_award_badges
@@ -1,5 +1,5 @@
#!/bin/sh
-PYTHONPATH=/path/to/dir_above_osqa_site
+PYTHONPATH=/path/to/dir_above_askbot_site
export PYTHONPATH
-PROJECT_ROOT=$PYTHONPATH/osqa_site
+PROJECT_ROOT=$PYTHONPATH/askbot_site
python manage.py multi_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1
diff --git a/cron/multi_award_badges_virtualenv b/cron/multi_award_badges_virtualenv
index df58155a..4230fb22 100755
--- a/cron/multi_award_badges_virtualenv
+++ b/cron/multi_award_badges_virtualenv
@@ -1,7 +1,7 @@
#!/bin/sh
-WORKON_HOME=~/envs/osqa
-PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/
+WORKON_HOME=~/envs/askbot
+PROJECT_ROOT=~/webapps/askbot_server/projects/askbot/
# activate virtual environment
. $WORKON_HOME/bin/activate
diff --git a/cron/once_award_badges b/cron/once_award_badges
index 43ee2249..069656ca 100755
--- a/cron/once_award_badges
+++ b/cron/once_award_badges
@@ -1,12 +1,12 @@
#!/bin/sh
-PYTHONPATH=/path/to/dir_above_osqa_site
+PYTHONPATH=/path/to/dir_above_askbot_site
export PYTHONPATH
-PROJECT_ROOT=$PYTHONPATH/osqa_site
+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/osqa_production
+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
diff --git a/cron/once_award_badges_virtualenv b/cron/once_award_badges_virtualenv
index 12414969..0011981c 100755
--- a/cron/once_award_badges_virtualenv
+++ b/cron/once_award_badges_virtualenv
@@ -1,7 +1,7 @@
#!/bin/sh
-WORKON_HOME=~/envs/osqa
-PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/
+WORKON_HOME=~/envs/askbot
+PROJECT_ROOT=~/webapps/askbot_server/projects/askbot/
# activate virtual environment
. $WORKON_HOME/bin/activate
diff --git a/cron/send_email_alerts b/cron/send_email_alerts
index cae09606..7581a88c 100644
--- a/cron/send_email_alerts
+++ b/cron/send_email_alerts
@@ -1,5 +1,5 @@
#!/bin/sh
-PYTHONPATH=/path/to/dir_above_osqa_site
+PYTHONPATH=/path/to/dir_above_askbot_site
export PYTHONPATH
-PROJECT_ROOT=$PYTHONPATH/osqa_site
+PROJECT_ROOT=$PYTHONPATH/askbot_site
/path/to/python $PROJECT_ROOT/manage.py send_email_alerts
diff --git a/cron/send_email_alerts_virtualenv b/cron/send_email_alerts_virtualenv
index 6c9e154d..2f1b64d0 100644
--- a/cron/send_email_alerts_virtualenv
+++ b/cron/send_email_alerts_virtualenv
@@ -1,7 +1,7 @@
#!/bin/sh
-WORKON_HOME=~/envs/osqa
-PROJECT_ROOT=~/webapps/osqa_server/projects/osqa/
+WORKON_HOME=~/envs/askbot
+PROJECT_ROOT=~/webapps/askbot_server/projects/askbot/
# activate virtual environment
. $WORKON_HOME/bin/activate