Skip to content

Should ScheduledJob return ITriggerConfigurator #1663

Answered by lahma
billrob asked this question in Ideas
Discussion options

You must be logged in to vote

Can you elaborate a bit more what kind of API you are after? I think we are speaking about this API:

q.ScheduleJob<SlowJob>(
triggerConfigurator => triggerConfigurator
.WithIdentity("slowJobTrigger")
.StartNow()
.WithSimpleSchedule(x => x.WithIntervalInSeconds(5).RepeatForever()),
jobConfigurator => jobConfigurator
.WithIdentity("slowJob")
.UsingJobData(JobInterruptMonitorPlugin.JobDataMapKeyAutoInterruptable, true)
// allow only five seconds for this job, overriding default configuration
.UsingJobData(JobInterruptMonitorPlugin.JobDataMapKeyMax…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@billrob
Comment options

Answer selected by billrob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants