1 2 3 4 5
#!/bin/sh PYTHONPATH=/path/to/dir_above_osqa_site export PYTHONPATH PROJECT_ROOT=$PYTHONPATH/osqa_site python manage.py multi_award_badges >> $PROJECT_ROOT/log/cron_badges.log 2>&1