Add log tail function

This commit is contained in:
Michael Stanclift 2020-05-21 21:07:01 -05:00
parent fe44303f33
commit 7ad9b70f09

View File

@ -157,6 +157,12 @@ case $# in
exit 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}" echo -e "${RED}'$1' is not a valid argument${NC}"
echo "Usage: $0 {pull|push}" echo "Usage: $0 {pull|push}"