mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-11 09:36:24 +01:00
Extracted alliance corp update to new file
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user