mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复更新任务状态api
This commit is contained in:
parent
f1cc7641fb
commit
97184d22c3
|
@ -153,8 +153,8 @@ update_cron() {
|
|||
local status="$2"
|
||||
local pid="${3:-''}"
|
||||
local logPath="$4"
|
||||
local lastExecutingTime="$5"
|
||||
local runningTime="$6"
|
||||
local lastExecutingTime="${5:-''}"
|
||||
local runningTime="${6:-''}"
|
||||
local currentTimeStamp=$(date +%s)
|
||||
local api=$(
|
||||
curl -s --noproxy "*" "http://0.0.0.0:5600/api/crons/status?t=$currentTimeStamp" \
|
||||
|
|
Loading…
Reference in New Issue
Block a user