Remove trailing , from CELERYBEAT_SCHEDULE example.

If a user copies the example verbatim, celery logs this error:
```
[2018-04-07 14:57:29,930: ERROR/MainProcess] Cannot add entry 'update_all_corpstats' to database schedule: TypeE rror('from_entry() argument after ** must be a mapping, not tuple',). Contents: ({'task': 'allianceauth.corputil s.tasks.update_all_corpstats', 'schedule': <crontab: 0 */6 * * * (m/h/d/dM/MY)>},)
```
This commit is contained in:
Stephen Shirley 2018-04-08 11:42:18 +02:00
parent ad1fd633b1
commit c725de7b5b

View File

@ -116,7 +116,7 @@ By default Corp Stats are only updated on demand. If you want to automatically r
CELERYBEAT_SCHEDULE['update_all_corpstats'] = { CELERYBEAT_SCHEDULE['update_all_corpstats'] = {
'task': 'allianceauth.corputils.tasks.update_all_corpstats', 'task': 'allianceauth.corputils.tasks.update_all_corpstats',
'schedule': crontab(minute=0, hour="*/6"), 'schedule': crontab(minute=0, hour="*/6"),
}, }
Adjust the crontab as desired. Adjust the crontab as desired.