Commit 95befd32 authored by wanghao's avatar wanghao

1 指令指令完成,但是 没有检测到机械臂完成。

parent 34db516e
......@@ -33,7 +33,7 @@ public class DeviceTaskScheduler {
private static final String THREAD_GROUP = "DEVICE_THREAD_GROUP";
// 常量:Cron周期(3分钟)、任务有效期(7天)
private static final String CRON_EXPRESSION = "0 0/3 * * * ?";
private static final String CRON_EXPRESSION = "0 0/5 * * * ?";
private static final int TASK_VALID_DAYS = 7;
/**
* 创建设备监控任务(入口:增加调度器健康检查、任务去重)
......@@ -128,7 +128,7 @@ public class DeviceTaskScheduler {
.requestRecovery(true)
.build();
Date executeTime = Date.from(Instant.now().plus(15, ChronoUnit.MINUTES));
Date executeTime = Date.from(Instant.now().plus(17, ChronoUnit.MINUTES));
SimpleTrigger trigger = TriggerBuilder.newTrigger()
.withIdentity(triggerKey)
.forJob(jobKey)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment