mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 07:06:06 +08:00
更新任务状态日志
This commit is contained in:
parent
c9efc55b53
commit
66ce31f6f4
|
@ -170,9 +170,9 @@ update_cron() {
|
|||
code=$(echo $api | jq -r .code)
|
||||
message=$(echo $api | jq -r .message)
|
||||
if [[ $code == 200 ]]; then
|
||||
echo -e "## 更新任务状态成功" >> $log_path
|
||||
echo -e "## 更新任务状态成功\n" >> $log_path
|
||||
else
|
||||
echo -e "## 更新任务状态失败(${message})" >> $log_path
|
||||
echo -e "\n## 更新任务状态失败(${message})" >> $log_path
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user