Re: Re: Cronjob

From: Date: Wed, 25 Sep 2002 17:20:15 +0000
Subject: Re: Re: Cronjob
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117594@lists.php.net to get a copy of this message
-dump is an option to lynx to tell it to output the page and quits. the rest of it says send all output (and errors) to /dev/null On Wed, 25 Sep 2002, Daren Cotter wrote: > What does the "-dump" and ">/dev/null 2>&1" stuff do? > > --- Philip Hallstrom <philip@adhesivemedia.com> wrote: > > 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 > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com >

« previous php.general (#117594) next »