/// <summary> /// Executes the job regardless its schedule. /// </summary> public void Execute() { JobManager.RunJob(this); }
public Schedule Schedule <T>() where T : IJob { return(Schedule(JobManager.GetJobAction <T>(), typeof(T).Name)); }
public Schedule AndThen <T>() where T : IJob { Jobs.Add(JobManager.GetJobAction <T>()); return(this); }