修改 task 日志展示逻辑

This commit is contained in:
whyour
2023-10-19 21:36:39 +08:00
parent 43c0cd8132
commit b90243f55c
2 changed files with 4 additions and 7 deletions
+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()}' `;