-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 <[EMAIL PROTECTED]> 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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to