Add: code comment to celery.py
This commit is contained in:
parent
100536a5a8
commit
2f017c9932
1 changed files with 2 additions and 0 deletions
|
@ -15,4 +15,6 @@ app.conf.beat_schedule = {
|
||||||
"schedule": crontab(hour=2, minute=0), # Daily at 2:00 AM
|
"schedule": crontab(hour=2, minute=0), # Daily at 2:00 AM
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Load task modules from all registered Django apps.
|
||||||
app.autodiscover_tasks()
|
app.autodiscover_tasks()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue