mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Add log tail function
This commit is contained in:
parent
fe44303f33
commit
7ad9b70f09
@ -156,6 +156,12 @@ case $# in
|
||||
done
|
||||
exit
|
||||
;;
|
||||
|
||||
logs)
|
||||
|
||||
echo -e "${GREEN}Success:${NC} Logs Requested"
|
||||
echo -e "Showing last three successful execution timestamps"
|
||||
tail -n 3 ${SYNCING_LOG}
|
||||
|
||||
*)
|
||||
echo -e "${RED}'$1' is not a valid argument${NC}"
|
||||
|
Loading…
Reference in New Issue
Block a user