runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API.

 

要设置 hangfire 的存储数据库。GlobalConfiguration.Configuration.UseSqlServerStorage("sqlserver_connection");

之后再添加任务。

posted on 2019-12-05 14:14  runliuv  阅读(2321)  评论(0编辑  收藏  举报