public class JobRegistry : Registry
{
public JobRegistry(IEnumerable<IJobSpecification> jobs)
{
foreach (var job in jobs)
{
Schedule(() => job).ToRunNow().AndEvery(job.JobConfiguration.RunEverySeconds.Value).Seconds();
}
}
}
i wonder if it's possible to have a job added which every else job has to wait to finish. Maybe a new schedule that runs always before the other schedule.
Is it possible to have like a Schedule(() => initjobs).AndThen(asyncjobs).RunWholeThingWithInitialJobsEveryMinutes..
here's my code today:
i wonder if it's possible to have a job added which every else job has to wait to finish. Maybe a new schedule that runs always before the other schedule.
Is it possible to have like a Schedule(() => initjobs).AndThen(asyncjobs).RunWholeThingWithInitialJobsEveryMinutes..