fixed tasks log

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

No files matched your search

+1 -1
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',