Extracted alliance corp update to new file

This commit is contained in:
Trent Bartlem 2014-11-04 11:28:49 +10:00
parent 964752cf2f
commit 1f317ae711
2 changed files with 7 additions and 5 deletions

View File

@ -0,0 +1,6 @@
from util import bootstrap_permissions
from celerytask.tasks import run_alliance_corp_update
bootstrap_permissions()
run_alliance_corp_update()
quit()

View File

@ -1,11 +1,7 @@
#!/usr/bin/env bash
python manage.py syncdb
python manage.py shell
from util import bootstrap_permissions
from celerytask.tasks import run_alliance_corp_update
bootstrap_permissions()
run_alliance_corp_update()
python manage.py shell < run_alliance_corp_update.py
python manage.py celeryd --verbosity=2 --loglevel=DEBUG
python manage.py celerybeat --verbosity=2 --loglevel=DEBUG