yuzd / Hangfire.HttpJob

httpjob for Hangfire,restful api for Hangfire,job调度与业务分离
https://github.com/yuzd/Hangfire.HttpJob/wiki
MIT License
635 stars 187 forks source link

执行周期不对 #82

Closed gywei closed 4 years ago

gywei commented 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秒???

yuzd commented 4 years ago

请参考看下这个:https://github.com/yuzd/Hangfire.HttpJob/issues/66

gywei commented 4 years ago

请参考看下这个:#66

感谢!

yuzd commented 4 years ago

不客气 有想法 有问题 欢迎探讨