Skip to content

Commit

Permalink
Arg errors
Browse files Browse the repository at this point in the history
  • Loading branch information
saikiran2603 authored Mar 25, 2022
1 parent e72a782 commit 62e7d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s_scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def parse_crontab(self, minute, hour, day_of_month, month, day_of_week, second="
iter = croniter(cron_expression, base)
return iter.get_next(datetime), iter.all_next(datetime), iter.all_prev(datetime)

def check_crontab_schedule(self, minute, hour, day_of_month, month, day_of_week, second="*", start_date , end_date):
def check_crontab_schedule(self, minute, hour, day_of_month, month, day_of_week, start_date , end_date, second="*"):
cron_expression = minute + " " + hour + " " + day_of_month + " " + month + " " + day_of_week + " " + second
schedule = list(croniter_range(start_date, end_date, cron_expression))

Expand Down

0 comments on commit 62e7d5f

Please sign in to comment.