mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复更新任务状态日志
This commit is contained in:
parent
7b7d62760e
commit
71d7d3818f
|
@ -170,9 +170,9 @@ update_cron() {
|
||||||
code=$(echo $api | jq -r .code)
|
code=$(echo $api | jq -r .code)
|
||||||
message=$(echo $api | jq -r .message)
|
message=$(echo $api | jq -r .message)
|
||||||
if [[ $code == 200 ]]; then
|
if [[ $code == 200 ]]; then
|
||||||
echo -e "更新任务状态成功" | tee -a $log_path
|
echo -e "## 更新任务状态成功" | tee -a $log_path
|
||||||
else
|
else
|
||||||
echo -e "更新任务状态失败(${message})" | tee -a $log_path
|
echo -e "## 更新任务状态失败(${message})" | tee -a $log_path
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user