mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 15:00:16 +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
|
#!/usr/bin/env bash
|
||||||
python manage.py syncdb
|
python manage.py syncdb
|
||||||
|
|
||||||
python manage.py shell
|
python manage.py shell < run_alliance_corp_update.py
|
||||||
from util import bootstrap_permissions
|
|
||||||
from celerytask.tasks import run_alliance_corp_update
|
|
||||||
bootstrap_permissions()
|
|
||||||
run_alliance_corp_update()
|
|
||||||
|
|
||||||
python manage.py celeryd --verbosity=2 --loglevel=DEBUG
|
python manage.py celeryd --verbosity=2 --loglevel=DEBUG
|
||||||
python manage.py celerybeat --verbosity=2 --loglevel=DEBUG
|
python manage.py celerybeat --verbosity=2 --loglevel=DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user