hangfire enqueued but not processing(hangfire 定时任务入队列但不执行)

 不生效的方法
//RecurringJob.AddOrUpdate<FamilyAppService>((s) => s.UpdateFamilyLevel(), input.CronExpression, TimeZoneInfo.Local, "crontab_update_family_level_900001");

  去掉时区和名字之后就好了,暂不清楚原因,应该是我对这个方法的后面这两个参数理解的有问题。

   RecurringJob.AddOrUpdate<FamilyAppService>((s) => s.UpdateFamilyLevel(), input.CronExpression);

  

原文地址:https://www.cnblogs.com/zinan/p/10301664.html