TASKTYPES for everyone

This commit is contained in:
Michael Stanclift 2020-05-24 20:06:11 -05:00
parent 7dff206d55
commit a64e31f0cb

View File

@ -340,23 +340,27 @@ case $# in
;;
version)
TASKTYPE='VERSION'
show_version
exit_nochange
;;
update)
TASKTYPE='UPDATE'
echo -e "[${GREEN}GOOD${NC}] Update Requested"
update_gs
exit_nochange
;;
logs)
TASKTYPE='LOGS'
MESSAGE="Logs Requested"
echo -e "${GOOD} ${MESSAGE}"
logs_gs
;;
cron)
TASKTYPE='CRON'
echo -e "${GOOD} ${MESSAGE}"
CRONPATH="$HOME/${LOCAL_FOLDR}/${CRONJOB_LOG}"