fixed tasks log

This commit is contained in:
Ultradesu
2025-07-20 22:55:07 +03:00
parent dc6d170f08
commit ec869b2974
2 changed files with 6 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ app = Celery('mysite')
app.conf.beat_schedule = {
'periodical_servers_sync': {
'task': 'sync_all_servers',
'schedule': crontab(minute='*'),
'schedule': crontab(minute=0, hour='*/3'), # Every 3 hours
},
'cleanup_old_task_logs': {
'task': 'cleanup_task_logs',