Closed gywei closed 4 years ago
{ "Url": "http://xxxxxxxxx::8888/jobagent", "Method": "POST", "Data": "", "ContentType": "application/json", "Timeout": 5000, "DelayFromMinutes": 1, "Cron": "/5 * ?", "JobName": "更新", "QueueName": "recurring", "AgentClass": "Admin.Core.Jobs.UpdateUserLocationJob,Admin.Core", "SendSuccess": false, "SendFail": false, "Mail": "", "EnableRetry": false, "RetryTimes": 0, "BasicUserName": "test", "BasicPassword": "123456" }
以上设置是每5秒需要自动执行一次,实际查看记录发现是每15秒才执行一次,很少搞不懂怎么会变成15秒???
请参考看下这个:https://github.com/yuzd/Hangfire.HttpJob/issues/66
请参考看下这个:#66
感谢!
不客气 有想法 有问题 欢迎探讨
{ "Url": "http://xxxxxxxxx::8888/jobagent", "Method": "POST", "Data": "", "ContentType": "application/json", "Timeout": 5000, "DelayFromMinutes": 1, "Cron": "/5 * ?", "JobName": "更新", "QueueName": "recurring", "AgentClass": "Admin.Core.Jobs.UpdateUserLocationJob,Admin.Core", "SendSuccess": false, "SendFail": false, "Mail": "", "EnableRetry": false, "RetryTimes": 0, "BasicUserName": "test", "BasicPassword": "123456" }
以上设置是每5秒需要自动执行一次,实际查看记录发现是每15秒才执行一次,很少搞不懂怎么会变成15秒???