Re: Cronjob

From: Date: Wed, 25 Sep 2002 16:38:38 +0000
Subject: Re: Cronjob
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117587@lists.php.net to get a copy of this message
You could setup cron to run lynx or some other command line web browser... something like: 0 * * * * /path/to/lynx -dump http://server/path/to/script.php >/dev/null 2>&1 Then as the first thing in that script you will probably want to set the time limit to 0 so it doesn't time out... On Wed, 25 Sep 2002, Daren Cotter wrote: > I have PHP installed on a Cobalt RaQ550. I know there > are two ways of installing PHP, one as a binary, and > one as an Apache module. I am pretty sure PHP gets > installed as an Apache module for the Cobalt > installation. > > My problem, is that I absolutely NEED to run a PHP > script using crontab. The script needs to send > numerous queries to a database every hour. Is there > any way I can accomplish this, directly or indirectly? > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#117587) next »