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