U 任务计划cron的周支持2-5/2写法

pull/410/head
vapao 2021-11-06 19:22:56 +08:00
parent 4ed59b0664
commit a6621d30c6
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ SCHEDULE_WORKER_KEY = settings.SCHEDULE_WORKER_KEY
class Scheduler: class Scheduler:
timezone = settings.TIME_ZONE timezone = settings.TIME_ZONE
week_map = { week_map = {
'/': '/',
'-': '-', '-': '-',
'*': '*', '*': '*',
'7': '6', '7': '6',