diff --git a/cron-reinstall-esp-idf.sh b/cron-reinstall-esp-idf.sh index c1398a6..44b9e81 100644 --- a/cron-reinstall-esp-idf.sh +++ b/cron-reinstall-esp-idf.sh @@ -1,10 +1,4 @@ #!/bin/bash -cronVers=37-live # version of this script -sleepMins=3 # minutes of warning to wait for user to log out -log=$HOME/esp/install.log - -myUser=$USER - startTime=$(date '+%s') # testing: @@ -16,6 +10,12 @@ startTime=$(date '+%s') # crontab -e # 0 8 * * * bash $HOME/esp/esp-install-custom/cron-reinstall-esp-idf.sh +cronVers=38-live # version of this script +sleepMins=3 # minutes of warning to wait for user to log out +log=$HOME/esp/install.log + +myUser=$USER + function return_status() { strii="\treturn status: ${?}" echo -e $strii