[snip]
/usr/local/bin/php

Now, to figure out what command I need to run a php script from there.
[/snip]

http://www.unixgeeks.org/security/newbie/unix/cron-1.html

Now, you can do this one of two ways

17 8 * * * /usr/local/bin/php /path/to/your/script.php 

Or you can add a bash line to the top of your file and then make sure to
have one blank line after the bash line

#!/usr/local/bin/php

/* start your script here */

The bash line may not work depending on how the host is set up.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to