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