Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
38f8e6c7
authored
Apr 28, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Window机器下File.separator不兼容问题修复;
parent
7f2179a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
doc/XXL-JOB官方文档.md
xxl-job-core/src/main/java/com/xxl/job/core/handler/impl/ScriptJobHandler.java
xxl-job-core/src/main/java/com/xxl/job/core/log/XxlJobFileAppender.java
doc/XXL-JOB官方文档.md
View file @
38f8e6c7
## 《分
布式任务调度平台XXL-JOB》
## 《分
布式任务调度平台XXL-JOB》
...
...
@@ -1168,6 +1168,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
5、任务日志表状态字段类型优化;
-
6、
[
迭代中
]
脚本任务支持失败重试;
-
7、告警邮箱支持SSL配置;
-
8、Window机器下File.separator不兼容问题修复;
### TODO LIST
...
...
xxl-job-core/src/main/java/com/xxl/job/core/handler/impl/ScriptJobHandler.java
View file @
38f8e6c7
...
...
@@ -8,6 +8,8 @@ import com.xxl.job.core.log.XxlJobLogger;
import
com.xxl.job.core.util.ScriptUtil
;
import
com.xxl.job.core.util.ShardingUtil
;
import
java.io.File
;
/**
* Created by xuxueli on 17/4/27.
*/
...
...
@@ -41,7 +43,7 @@ public class ScriptJobHandler extends IJobHandler {
// make script file
String
scriptFileName
=
XxlJobFileAppender
.
getGlueSrcPath
()
.
concat
(
"/"
)
.
concat
(
File
.
separator
)
.
concat
(
String
.
valueOf
(
jobId
))
.
concat
(
"_"
)
.
concat
(
String
.
valueOf
(
glueUpdatetime
))
...
...
xxl-job-core/src/main/java/com/xxl/job/core/log/XxlJobFileAppender.java
View file @
38f8e6c7
...
...
@@ -79,7 +79,7 @@ public class XxlJobFileAppender {
// filePath/yyyy-MM-dd/9999.log
String
logFileName
=
logFilePath
.
getPath
()
.
concat
(
"/"
)
.
concat
(
File
.
separator
)
.
concat
(
String
.
valueOf
(
logId
))
.
concat
(
".log"
);
return
logFileName
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment