Re: Re: Executing a php script periodically using crond
| From: | Erik Price | Date: | Tue, 02 Jul 2002 16:54:53 +0000 |
| Subject: | Re: Re: Executing a php script periodically using crond | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104956@lists.php.net to get a copy of this message | ||
On Tuesday, July 2, 2002, at 12:25 PM, Henry wrote:
PS. I cannot compile as a binary etc. This configuration is the confi of the shared server I am using which is hosted by a third part.If your PHP is not compiled as a CGI interpreter, then you can't do commandline PHP commands. But all is not lost. You can have the cron job execute a shell script that executes lynx or links or wget, or even just executes the command directly from the cron job, and have that lynx/links/wget request a PHP script that does what you want done. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com