mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
ql命令行执行最后打印日志
This commit is contained in:
@@ -492,6 +492,7 @@ main() {
|
||||
local end_time=$(date '+%Y-%m-%d %H:%M:%S')
|
||||
local diff_time=$(($(date +%s -d "$end_time") - $(date +%s -d "$begin_time")))
|
||||
echo -e "\n## 执行结束... $end_time 耗时 $diff_time 秒" >> $log_path
|
||||
cat $log_path
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user