Commit 7a96631b by huangfusuper

调度命令处理

parent ba4c14d5
......@@ -35,7 +35,7 @@ public class RunScriptProcessingMachine implements ProcessingMachine {
public void executor(ScriptDto scriptDto, ProcessingNodeChain processingNodeChain) {
try {
boolean isRunNode = scriptDto.getRunId().contains("REAL:EXEC:");
List<String> cmdList = Arrays.asList(scriptDto.getCommand().split(" "));
List<String> cmdList = Arrays.asList(scriptDto.getCommand());
MythJobProcess mythJobProcess;
if(isRunNode) {
mythJobProcess = new MythJobProcess(cmdList, null, null, scriptDto.getLogId(), stringRedisTemplate);
......
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