Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gocron to fix non running jobs with weeks or days units
gocron.Every() does not run jobs with weeks or days unit ->gocron.Every(1).Monday() ->gocron.Every(1).Day ->gocron.Every(2).Days Mainly because gocron.Every() uses a default scheduler and default scheduler sets job.shouldRun at false. shoulRun is set to true in hte scheduleNextRun function but only for units than weeks or days, hence the fix.
- Loading branch information