|
@@ -8,6 +8,8 @@ import com.xxl.job.core.log.XxlJobLogger;
|
8
|
8
|
import com.xxl.job.core.util.ScriptUtil;
|
9
|
9
|
import com.xxl.job.core.util.ShardingUtil;
|
10
|
10
|
|
|
11
|
+import java.io.File;
|
|
12
|
+
|
11
|
13
|
/**
|
12
|
14
|
* Created by xuxueli on 17/4/27.
|
13
|
15
|
*/
|
|
@@ -41,7 +43,7 @@ public class ScriptJobHandler extends IJobHandler {
|
41
|
43
|
|
42
|
44
|
// make script file
|
43
|
45
|
String scriptFileName = XxlJobFileAppender.getGlueSrcPath()
|
44
|
|
- .concat("/")
|
|
46
|
+ .concat(File.separator)
|
45
|
47
|
.concat(String.valueOf(jobId))
|
46
|
48
|
.concat("_")
|
47
|
49
|
.concat(String.valueOf(glueUpdatetime))
|