[FIX] crontab arguments are of type string, not int

This commit is contained in:
Peter Pfeufer
2023-07-12 13:11:18 +02:00
parent 6f4dffe930
commit dcd6bd1b36
2 changed files with 2 additions and 2 deletions

View File

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