public ComputedCronJob(CronJob job) { Job = job; Schedule = CrontabSchedule.Parse(job.Cron); if (job.TypeName != null) { JobType = Type.GetType(job.TypeName); } }
private ComputedCronJob CreateComputedCronJob(CronJob job, CronJobRegistry.Entry[] entries) { var entry = entries.First(e => e.Name == job.Name); return(new ComputedCronJob(job, entry)); }
public ComputedCronJob(CronJob job, CronJobRegistry.Entry entry) : this(job) { _entry = entry; }