diff --git a/src/main/java/com/yutou/qqbot/utlis/JianRTaskManager.java b/src/main/java/com/yutou/qqbot/utlis/JianRTaskManager.java index 32c44b5..7be8f81 100644 --- a/src/main/java/com/yutou/qqbot/utlis/JianRTaskManager.java +++ b/src/main/java/com/yutou/qqbot/utlis/JianRTaskManager.java @@ -24,6 +24,7 @@ public class JianRTaskManager { public void setTask(JianRScriptData data) { task = data; + runIndex=0; String s = RedisTools.get("jianrScript_RunIndex_" + data.getName()); if (s != null) { runIndex = Integer.parseInt(s);