Exemple #1
0
            public ScheduledJob(IFastJob job, TimeSpan interval)
            {
                this.Job      = job;
                this.Interval = interval;

                this.LastRunTime = DateTimeOffset.MinValue;
                this.Running     = false;
            }
Exemple #2
0
 public void Schedule(IFastJob job, TimeSpan interval)
 {
     this.scheduledJobs.Add(new ScheduledJob(job, interval));
 }