Exemplo n.º 1
0
        public Task SaveNextRun(ScheduledJob job, DateTimeOffset nextRun)
        {
            _nextRuns.AddOrUpdate(job.Id, nextRun, (s, time) => nextRun);

            return(Task.CompletedTask);
        }
Exemplo n.º 2
0
 public Task TrackResult(ScheduledJob job, Exception exception)
 {
     return(Task.CompletedTask);
 }
 private static Request Create(ScheduledJob job)
 {
     return(new ScheduledJobRequest(job));
 }