-
Notifications
You must be signed in to change notification settings - Fork 3
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
Adding RecurringDateRange Jobs to Dashboard? #4
Comments
I actually don't use the UI on my projects...so it hasn't been tested with
this plugin. I'll try to take a look this weekend.
The main reason I used a different JobType/JobSet is because
"recurring-job" is picked up by RecurringJob, and you could end up with the
job firing twice (once by RecurringJob and by RecurringDateRange), or the
job getting fired once, but it randomly picking which one fires it off.
Just an FYI - If you're just using Hangfire.RecurringDateRange for
NCrontab.Advanced...Hangfire is switching over to their Cronos project
internally, which supports all of the Cron strings NCrontab.Advanced
does...so that might be easier to use.
…On Thu, Jul 27, 2017, 12:02 AM Adam Hanley ***@***.***> wrote:
I was wondering if there was an easy way to add the RecurringDateRange
Jobs to the Hangfire Dashboard?
What i've currently done just for testing purposes is changed the JobType
and JobSet Constants to match the RecurringJobs (recurring-job) identifiers
and that seems to be working but i'm not sure of the consequences to doing
this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAXl8cC5ZeRdEmn7jrMIxIluL0ixX52Oks5sSAvqgaJpZM4OkxEL>
.
|
Thanks Joe! Much appreciated ... i did experience my DateRange Job being picked up by the RecurringJob like you mentioned. I was also looking at the Hangfire Development and noticed them implementing some of these features so that will be great when it's ready, only issue is i need the functionality now! Your implementation is great and the only drawback to it is that the date range jobs don't show up in the dashboard! Great work btw thanks again! |
I was wondering if there was an easy way to add the RecurringDateRange Jobs to the Hangfire Dashboard?
What i've currently done just for testing purposes is changed the JobType and JobSet Constants to match the RecurringJobs (recurring-job and recurring-jobs) identifiers and that seems to be working but i'm not sure of the consequences to doing this.
The text was updated successfully, but these errors were encountered: