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

Posted zinan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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);

  


以上是关于hangfire enqueued but not processing(hangfire 定时任务入队列但不执行)的主要内容,如果未能解决你的问题,请参考以下文章

Empathy but not sympathy, be humble but not vulnerable

ERROR: Repository not found. ////Git, but is not registered in the Settings.

UVA10190 Divide, But Not Quite Conquer!等差数列

Social networks and health: Communicable but not infectious

Specified 'postgresql' for database adapter, but the gem is not loaded.

Codeforces Round #616(Div.2) Even But Not Even