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)
|
||||
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}"
|
||||
|
Loading…
Reference in New Issue
Block a user