IJobApiUpdateSchedule Method
|
Update the existing job scheduler with the new scheduler
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntaxvoid UpdateSchedule(
string id,
JobSchedule schedule
)
Parameters
- id String
- The Job Id
- schedule JobSchedule
- The Job Schedule
Examplevar jobApi = ctx.Use<IJobApi>();
var jobId = "theJobId";
var schedule = new MinutelyJobSchedule
{
Recurrence = 10,
AllDay=true
});
jobApi.UpdateSchedule(jobId, schedule);
See Also