1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package tech.powerjob.official.processors.impl.script;
|
| /**
| * shell processor
| *
| * @author tjq
| * @since 2021/2/7
| */
| public class ShellProcessor extends AbstractScriptProcessor {
|
| @Override
| protected String getScriptName(Long instanceId) {
| return String.format("shell_%d.sh", instanceId);
| }
|
| @Override
| protected String getRunCommand() {
| return SH_SHELL;
| }
| }
|
|