mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修改 task 日志展示逻辑
This commit is contained in:
@@ -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()}' `;
|
||||
|
||||
Reference in New Issue
Block a user