mac cron can't use the shell correctly
Posted
by carneades
on Server Fault
See other posts from Server Fault
or by carneades
Published on 2010-04-03T04:17:11Z
Indexed on
2010/04/03
4:23 UTC
Read the original article
Hit count: 385
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.
© Server Fault or respective owner