Issue #9 resolved

Using CronTrigger with any fields with 0 will be ignored

created an issue

scheduler.add_cron_job(cron_func, hour = 18, minute = 20, second = 0)

should only call cron_func at 6:20 pm once, but because the 0 is ignored it is called multiple times.

Not sure if there's a more elegant way, but attached is a patch that should fix the issue.

Comments (3)

  1. Log in to comment