mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 06:50:15 +02:00
Extracted alliance corp update to new file
This commit is contained in:
parent
964752cf2f
commit
1f317ae711
6
run_alliance_corp_update.py
Normal file
6
run_alliance_corp_update.py
Normal 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()
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user