Quote:
Originally Posted by School-Help
Why does it ask us to use /usr/local/bin/php ? :speechless: infront of the actual path?
|
Why don't you just try typing in the path to the PHP script on the command line and see what happens

cron usually uses "sh" or "bash" to process commands in crontab, and those command shells may have no idea what to do with a PHP script, so you may actually have to invoke the PHP executable to process the PHP script
As someone else said, you could use "wget" (if it's installed on your web server) and point it to the URL instead if you prefer, and that should work just as well. The script has got to be parsed by PHP one way or another, it is not an executable binary, it is just a bunch of PHP commands. The only difference is what way you use to get PHP to process the script.