3
1
I want to set up a crontab on my Macbook Pro running Lion. I run the usual crontab -e
and provide a quick job to see if everything is working ok ---
*/10 * * * * wget -O - -q -t 1 http://site.local/cron.php
10 minutes later I see I've got some "mail" from the system stating ---
/bin/sh: wget: command not found
I do have wget installed as I can run the program from the command line
How do I fix this error? Does my crontab or .bash_profile
require a shebang?
2Where is your
wget
? Just supply the full path in your crontab. – slhck – 2012-08-06T21:01:15.023