HangfireHttpJob
HangfireHttpJob copied to clipboard
hangfire的拓展程序,在原作者基础上增加了一些功能,调用api的方式来执行定时任务
添加任务失败
.NETCORE 3.1中添加任务一直报error, 数据库是SqlServer,一直报405,系统引用是1.0.7版本,下载你的代码的版本为1.0.5,什么鬼?看了下1.0.5的源码好像是 if (string.IsNullOrEmpty(jobItem.Corn)) { context.Response.StatusCode = (int)HttpStatusCode.MethodNotAllowed; return Task.FromResult(false); } 这里会返回405.但是明明参数有数据?
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 11.0.2 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
update net 6.0
在使用ant-design-pro vue 下,结合identityserver4的管理系统中已经实现了后台任务管理,包含立即执行操作, .net core版本3.1 演示地址:http://49.233.174.240:44357/ 账号:admin 密码:Admin123... 请勿删除演示数据
我们不希望在web端执行后台任务,有单独的windowsservice程序执行, 是不是直接在web客户端配置以下代码就行了 `//使用redis config.UseRedisStorage(Redis, new Hangfire.Redis.RedisStorageOptions() { FetchTimeout = TimeSpan.FromMinutes(5), Prefix = "{hangfire}:", //活动服务器超时时间 InvisibilityTimeout = TimeSpan.FromHours(1), //任务过期检查频率 ExpiryCheckInterval = TimeSpan.FromHours(1), DeletedListSize = 10000, SucceededListSize = 10000 }) .UseHangfireHttpJob(new HangfireHttpJobOptions()...
如题,请指导以下,感谢
update net core 3.0
Redis
StackExchange 在.net core 下存在并发问题,建议更换成csredis
http://localhost:9006/job/recurring ---> 添加周期任务 一栏  重复了3个按钮,其中添加周期按钮,提示的代码内容遮盖住了  无法提交,F12删除后提交报错
Bumps [Microsoft.AspNetCore.All](https://github.com/aspnet/Universe) from 2.0.6 to 2.0.9. Commits - [`84d6a54`](https://github.com/aspnet/Universe/commit/84d6a54ce9ba941e2b7318d7f377908473d35f6d) Merge 2.0.9 into release/2.0 - [`43ec723`](https://github.com/aspnet/Universe/commit/43ec72353f83465a3dd238e5a025b255e312f0ed) Merge branch release/2.0 - [`cc0e039`](https://github.com/aspnet/Universe/commit/cc0e0394acd1d13fb5769c3c8f8ec895893b39c4) Add required infrastructure improvements to submodules to support NETStandard... -...