mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Moved task to every 3 hours
This commit is contained in:
parent
f916cf5162
commit
0788cc70fd
@ -120,7 +120,7 @@ def run_databaseUpdate():
|
|||||||
|
|
||||||
|
|
||||||
#run at midnight everyday
|
#run at midnight everyday
|
||||||
@periodic_task(run_every=crontab(minute=0, hour=0))
|
@periodic_task(run_every=crontab(minute=0, hour="*/3"))
|
||||||
def run_api_refresh():
|
def run_api_refresh():
|
||||||
users = User.objects.all()
|
users = User.objects.all()
|
||||||
for user in users:
|
for user in users:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user