Skip to content

Commit

Permalink
U 任务计划cron的周支持2-5/2写法
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Nov 6, 2021
1 parent 3667f73 commit 088e0ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spug_api/apps/schedule/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
class Scheduler:
timezone = settings.TIME_ZONE
week_map = {
'/': '/',
'-': '-',
'*': '*',
'7': '6',
Expand Down

0 comments on commit 088e0ba

Please sign in to comment.