mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复更新任务状态api
This commit is contained in:
+2
-2
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user