public void ConfigureServices(IServiceCollection services) { services.AddJobServer(options => { options.Register <SimpleJob>(Cron.EveryMinute()); options.Register <WorkOnSpecificTimeJob>(Cron.MinuteInterval(4)); }); services.AddMvc(); }
public void ConfigureServices(IServiceCollection services) { services.AddJobServer(options => { options.Register <SimpleJob>(Cron.EveryMinute()); options.Register <WorkOnSpecificTimeJob>(Cron.MinuteInterval(4)); }); services.AddMvc(); }