mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
TASKTYPES for everyone
This commit is contained in:
parent
7dff206d55
commit
a64e31f0cb
@ -340,23 +340,27 @@ case $# in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
version)
|
version)
|
||||||
|
TASKTYPE='VERSION'
|
||||||
show_version
|
show_version
|
||||||
exit_nochange
|
exit_nochange
|
||||||
;;
|
;;
|
||||||
|
|
||||||
update)
|
update)
|
||||||
|
TASKTYPE='UPDATE'
|
||||||
echo -e "[${GREEN}GOOD${NC}] Update Requested"
|
echo -e "[${GREEN}GOOD${NC}] Update Requested"
|
||||||
update_gs
|
update_gs
|
||||||
exit_nochange
|
exit_nochange
|
||||||
;;
|
;;
|
||||||
|
|
||||||
logs)
|
logs)
|
||||||
|
TASKTYPE='LOGS'
|
||||||
MESSAGE="Logs Requested"
|
MESSAGE="Logs Requested"
|
||||||
echo -e "${GOOD} ${MESSAGE}"
|
echo -e "${GOOD} ${MESSAGE}"
|
||||||
logs_gs
|
logs_gs
|
||||||
;;
|
;;
|
||||||
|
|
||||||
cron)
|
cron)
|
||||||
|
TASKTYPE='CRON'
|
||||||
echo -e "${GOOD} ${MESSAGE}"
|
echo -e "${GOOD} ${MESSAGE}"
|
||||||
|
|
||||||
CRONPATH="$HOME/${LOCAL_FOLDR}/${CRONJOB_LOG}"
|
CRONPATH="$HOME/${LOCAL_FOLDR}/${CRONJOB_LOG}"
|
||||||
|
Loading…
Reference in New Issue
Block a user