示例#1
0
 public static void Setup(ScheduleRegistry registry)
 {
     registry
     .Schedule <CallJob>()
     .WithName(Name)
     .ToRunEvery(1)
     .Days()
     .At(Hour, Minute);
 }
示例#2
0
 public CallJob()
 {
     Context = ScheduleRegistry.GetDbContext();
 }