Merge branch 'cron-fix' into 'master'

[Docs] Fix Discord Task Schedule

See merge request allianceauth/allianceauth!1304
This commit is contained in:
Ariel Rin 2021-04-27 13:53:37 +00:00
commit 75a3adb2c9

View File

@ -26,7 +26,7 @@ DISCORD_SYNC_NAMES = False
CELERYBEAT_SCHEDULE['discord.update_all_usernames'] = { CELERYBEAT_SCHEDULE['discord.update_all_usernames'] = {
'task': 'discord.update_all_usernames', 'task': 'discord.update_all_usernames',
'schedule': crontab(hour='*/12'), 'schedule': crontab(minute=0, hour='*/12'),
} }
``` ```