mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Add tail line to cronjob
This commit is contained in:
parent
4a80caece1
commit
d1d86c51a5
@ -282,6 +282,7 @@ function show_crontab {
|
||||
if [ -s ${LOG_PATH}/${CRONJOB_LOG} ]
|
||||
echo -e "\r${GOOD} ${MESSAGE}"
|
||||
|
||||
echo -e "${INFO} Tailing ${LOG_PATH}/${CRONJOB_LOG}"
|
||||
echo -e "========================================================"
|
||||
date -r ${LOG_PATH}/${CRONJOB_LOG}
|
||||
cat ${LOG_PATH}/${CRONJOB_LOG}
|
||||
|
Loading…
Reference in New Issue
Block a user