Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Cron.cs for recurring jobs using intervals #618

Merged
merged 1 commit into from
Jul 19, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jul 19, 2016

When scheduling Cron Jobs using the Interval functions in the Cron class it seems to just schedule the job for a minute + the interval time. Due to this the schedule job seems to execute just every minute e.g. If we call the HourInterval with 12 it would show up on the dashboard as 1minute, 12hours and it would just execute every minute.

@odinserj
Copy link
Member

Thank you, @mahoneyj2 and @stevetsang! Merging, will ship it soon 🚢

@odinserj odinserj added this to the 1.6.1 milestone Jul 19, 2016
@odinserj odinserj merged commit 1c1789b into HangfireIO:master Jul 19, 2016
@ghost ghost deleted the CronJobIntervalFix branch July 20, 2016 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

1 participant