更新Hangfire版本到1.7.0,才支持使用按秒循环任务执行

RecurringJob.AddOrUpdate("test",()=>writeLog("每20秒执行任务"), "*/20 * * * * *");

 

相关文章: