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

master
vapao 2021-11-06 19:24:07 +08:00
parent 3667f734e3
commit 088e0ba7cd
1 changed files with 1 additions and 0 deletions

View File

@ -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',