Centos – Bash multi-ping script has empty variables if ran under crontab
I scraped together a bash script to do multi-ping logging on Centos/Debian, when run from console it works fine, but run under crontab, the variable $NUM is left blank which should be a number such as 02 or 03, which…