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

@ -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}"