|
19 | 19 | CELERY_TIMEZONE=settings.TIME_ZONE, |
20 | 20 | CELERY_IMPORTS=("jobs.fpl_static", "jobs.squad_entries"), |
21 | 21 | CELERYBEAT_SCHEDULE={ |
22 | | - # "fetch-static-data": { |
23 | | - # "task": "draftnik.fetch_static_data", |
24 | | - # "schedule": crontab(minute=0, hour="2,14"), |
25 | | - # }, |
26 | | - # "fetch-next-fixtures": { |
27 | | - # "task": "draftnik.fetch_next_fixtures", |
28 | | - # "schedule": crontab(minute=0, hour=0, day_of_week="sunday"), |
29 | | - # "kwargs": {"count": 5,}, |
30 | | - # }, |
31 | | - # "fetch-fixtures": { |
32 | | - # "task": "draftnik.fetch_fixtures", |
33 | | - # "schedule": crontab(minute=0, hour=0, day_of_month="1"), |
34 | | - # }, |
| 22 | + "fetch-static-data": { |
| 23 | + "task": "draftnik.fetch_static_data", |
| 24 | + "schedule": crontab(minute=0, hour="2,14"), |
| 25 | + }, |
| 26 | + "fetch-next-fixtures": { |
| 27 | + "task": "draftnik.fetch_next_fixtures", |
| 28 | + "schedule": crontab(minute=0, hour=0, day_of_week="sunday"), |
| 29 | + "kwargs": {"count": 5,}, |
| 30 | + }, |
| 31 | + "fetch-fixtures": { |
| 32 | + "task": "draftnik.fetch_fixtures", |
| 33 | + "schedule": crontab(minute=0, hour=0, day_of_month="1"), |
| 34 | + }, |
35 | 35 | "refetch-unavailable-players": { |
36 | 36 | "task": "draftnik.refetch_unavailable_players", |
37 | 37 | "schedule": crontab(minute=0, hour="*/1"), |
|
0 commit comments