I find that celerybeat uses UTC time in its planning (and displays logs in British time ?!), although I believe that I have the necessary settings in the django.py settings:
TIME_ZONE = 'UTC'
USE_TZ = True
CELERY_ENABLE_UTC = True
CELERY_TIMEZONE = 'Australia/Sydney'
CELERYBEAT_SCHEDULE =
"testRunBeat" : {
"task" : "experiments.tasks.testHeartBeat",
"schedule" : crontab(minute = "*/1", hour="13-14"),
}
I tried switching the TIME_ZONE variable with no luck
I use:
django==1.4
celery==2.5.5
django-celery==2.5.5
thank
source
share