请问powerjob用的版本是 4.3.6 么?如果是高版本应该不行,高版本的客户端结构不一样,还没有做适配
用的就是这个版本的
f12看下network,把提交时的json复制贴出来看下
{"$timeExpressionType":"CRON","$executeType":"单机执行","$processorType":"内建处理器","$enable":"启用","$dispatchStrategy":"HEALTH_FIRST","$logType":-1,"$logLevel":-1,"enable":1,"jobServerId":"1876135341852909570","jobId":2,"jobName":"重新生成红绿灯Redis","timeExpressionType":2,"executeType":1,"processorType":1,"lifecycle":[],"timeExpression":"0 0 2 * * ? *","dispatchStrategy":1,"processorInfo":"tech.powerjob.official.processors.impl.HttpProcessor","jobParams":"{\"method\":\"GET\",\"url\":\"http://172.30.30.130:30201/mg-transport/quotaJob/resavelight\"}","jobDescription":"","maxInstanceNum":0,"concurrency":5,"instanceTimeLimit":0,"instanceRetryNum":0,"taskRetryNum":0,"minCpuCores":0,"minMemorySpace":0,"minDiskSpace":0,"designatedWorkers":"","maxWorkerCount":0,"notifyUserIds":"","alertThreshold":0,"statisticWindowLen":0,"silenceWindowLen":0,"logType":-1,"logLevel":-1,"extra":"","id":"1876175772054102018","createUser":"1123598821738675201","createDept":"1123598813738675201","createTime":"2025-01-06 15:55:36","updateUser":"1123598821738675201","updateTime":"2025-01-06 15:55:36","status":1,"isDeleted":0,"$index":0,"$jobServerId":"blade-job: (powerjob - 172.30.30.134:30070)"}
好想是日期范围为空的问题,按照这个修改试试,看这样修改后是否支持空时间段提交
https://center.javablade.com/blade/Saber3/commit/eba7b8cd21388cd2ac50127c03613f63845190fd
扫一扫访问 Blade技术社区 移动端