mac cron can't use the shell correctly
- by carneades
I've set up cron to run a simple hello world shell script, but it's giving me an error that Google isn't helping me resolve. I've got to be missing something really simple!
Here's my crontab:
[email protected]
SHELL=/bin/bash
30 * * * * * $HOME/hello.sh
Here's hello.sh:
#!/bin/bash
echo HELLO WORLD!
I get this error email:
/bin/bash: 555: command not found
I have tried setting shell to /bin/sh but it makes no difference. I still get an analogous error message.