celery timezone setting django

In Django, you can set the timezone for Celery by adding the following setting to your Django settings file:

CELERY_TIMEZONE = 'America/New_York'

This setting specifies the timezone in which your Celery tasks will run. You can replace 'America/New_York' with the timezone of your choice.

After adding this setting, Celery will use the specified timezone for scheduling and executing tasks.

Remember to restart the Celery workers after making changes to the timezone setting.