RE: [PHP] where php at?
| From: | Ryan A | Date: | Mon, 27 Mar 2006 21:08:06 +0000 |
| Subject: | RE: [PHP] where php at? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232662@lists.php.net to get a copy of this message | ||
[/clip]
>
> 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
>
[/clip]
Now, I might be coming in a bit late here...but I have worked with cpanel
and using their "simplified" version of setting cron its pretty easy plus to
call the script you dont have to give the path the php like in the clip
above....
Just
17 8 * * * /path/to/your/script.php
would do fine... at least it worked for me.
HTH.
Cheers,
Ryan