mirror of https://github.com/openspug/spug
U 任务计划cron的周支持2-5/2写法
parent
4ed59b0664
commit
a6621d30c6
|
@ -25,6 +25,7 @@ SCHEDULE_WORKER_KEY = settings.SCHEDULE_WORKER_KEY
|
|||
class Scheduler:
|
||||
timezone = settings.TIME_ZONE
|
||||
week_map = {
|
||||
'/': '/',
|
||||
'-': '-',
|
||||
'*': '*',
|
||||
'7': '6',
|
||||
|
|
Loading…
Reference in New Issue