mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
ql命令行执行最后打印日志
This commit is contained in:
parent
3a8101aad1
commit
dfb0d73ef3
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue
Block a user