readjusts import_gs

This commit is contained in:
Michael Stanclift 2020-07-16 13:37:27 -05:00
parent 5fc12be73b
commit 6063363773

View File

@ -771,6 +771,7 @@ function logs_export {
### Output Sync Logs
function logs_gs {
import_gs
MESSAGE="Tailing ${LOG_PATH}/${SYNCING_LOG}"
echo_info
@ -794,6 +795,7 @@ function logs_gs {
## Crontab Logs
### Core Crontab Logs
function show_crontab {
import_gs
MESSAGE="Replaying Last Cronjob"
echo_stat
@ -1609,6 +1611,8 @@ function task_automate {
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
CRON_EXIST='0'
CRON_CHECK=$(crontab -l | grep -q "${GS_FILENAME}" && echo '1' || echo '0')
if [ ${CRON_CHECK} == 1 ]
@ -1828,6 +1832,8 @@ function task_compare {
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders
validate_os_sshpass
@ -1976,8 +1982,6 @@ function root_check {
MESSAGE="Evaluating Arguments"
echo_stat
import_gs
if [ "${ROOT_CHECK_AVOID}" != "1" ]
then
@ -1991,6 +1995,7 @@ case $# in
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders
validate_os_sshpass
@ -2006,6 +2011,7 @@ case $# in
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders
validate_os_sshpass
@ -2019,6 +2025,7 @@ case $# in
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders
validate_os_sshpass
@ -2032,6 +2039,7 @@ case $# in
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders
validate_os_sshpass
@ -2045,6 +2053,7 @@ case $# in
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders
validate_os_sshpass
@ -2058,6 +2067,7 @@ case $# in
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
echo_good
import_gs
validate_gs_folders
validate_ph_folders