修改 task 日志展示逻辑

This commit is contained in:
whyour committed 2023-10-19 21:36:39 +08:00
1 parent 43c0cd8132
commit b90243f55c
2 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -502,7 +502,7 @@ export default class CronService {
if (!command.startsWith(TASK_PREFIX) && !command.startsWith(QL_PREFIX)) {
command = `${TASK_PREFIX}${tab.command}`;
}
let commandVariable = `ID=${tab.id} `
let commandVariable = `no_tee=true ID=${tab.id} `
if (tab.task_before) {
commandVariable += `task_before='${tab.task_before.replace(/'/g, "'\\''")
.trim()}' `;