I've put together a very simple bash script to check for software patches and bounce the server, once complete. This is on a Mac server. The script works just fine upon execution, however, cron responds with:
/bin/sh: /usr/local/bin/softwareupdates.sh: No such file or directory
Crontab:
#* * * * 2,3,7 /usr/local/bin/softwareupdates.sh
Here's my simple bash script:
The script lives in /usr/local/bin. It's obvious to me, environment is the issue. However, not sure the direction to resolve. Attempted a variety of options. Any assistance, is appreciated.