|
#1
|
|||
|
|||
|
How do I setup a php script to run from a cron event?
Thanks, Ty |
|
#2
|
||||
|
||||
|
Login to cpanel find cron then just set it up there.
__________________
Gators love marshmallows. |
|
#3
|
|||
|
|||
|
Yes, though do I need to use lynx to run the php file OR is it just like setting up a perl script in cron?
My last host I had to use the linux internal browser called Lynx, I think that is the name, to run a php file through a cron event. I can't find any specifics in the online manual for the specific procedure for calling a php file. Also do I need to know the PHP path? Where can I find that, I do not see the path for php inthe control panel only the version number. Thanks |
|
#4
|
|||
|
|||
|
you put in php <php scrip>
|
|
#5
|
|||
|
|||
|
I followed the directions in a script install doc and it worked. This is how you get PHP to run via a cron event with this service.
/usr/bin/php /home/username/public_html/script.php If there is other ways I do not know it. Maybe what flak said is right and you just need to type PHP instead of the path to the compiler but the lack of docs and info on this I wouldn't know that. Thanks Flak for answering I appreciate it. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Setup fees? | Warmonger | Pre-Sales Questions | 1 | 05-15-2006 09:56 AM |
| ok, I give, what's a cron job? | mediafetish | Pre-Sales Questions | 4 | 01-09-2005 03:34 PM |
| weird server setup | brad98 | Shared Hosting Support | 2 | 07-10-2004 03:15 PM |
| Cron error? | dlumley | Shared Hosting Support | 0 | 03-12-2004 11:47 AM |
All times are GMT -5. The time now is 04:55 AM.









