chnage task name

This commit is contained in:
prance 2022-01-30 18:49:19 +01:00
parent 2b191b5f19
commit 8f794f1e12

View File

@ -147,7 +147,7 @@ SESSION_COOKIE_AGE = 60 * 60
CELERY_BROKER_URL = 'redis+socket:///var/run/redis/redis-server.sock' CELERY_BROKER_URL = 'redis+socket:///var/run/redis/redis-server.sock'
CELERY_TIMEZONE = "Europe/Warsaw" CELERY_TIMEZONE = "Europe/Warsaw"
CELERY_BEAT_SCHEDULE = { CELERY_BEAT_SCHEDULE = {
'daily_report': { 'clear_sessions': {
'task': 'clear_sessions', 'task': 'clear_sessions',
'schedule': 60, 'schedule': 60,
} }