mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
task和ql命令添加基础目录检测
This commit is contained in:
1 parent
f17642b243
commit
fa02df0d8f
3 files changed
+2
-1
No files matched your search
@@ -434,6 +434,7 @@ main() {
|
||||
local log_time=$(date "+%Y-%m-%d-%H-%M-%S")
|
||||
local log_path="$dir_log/update/${log_time}_$p1.log"
|
||||
local begin_time=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
|
||||
case $p1 in
|
||||
update)
|
||||
echo -e "## 开始执行... $begin_time\n" >>$log_path
|
||||
|
||||
Reference in new issue
Block a user