Re: Cron-Job for database updating (bemorph)
| From: | Martin A. Marques | Date: | Fri, 25 Aug 2000 13:33:36 +0000 |
| Subject: | Re: Cron-Job for database updating (bemorph) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13668@lists.php.net to get a copy of this message | ||
On Fri, 25 Aug 2000, Marko Vukovic' wrote:
> bemorph wrote:
> >
> > how do i setup a cron job (php-script) which updates a database?
> > the script should run two times a day
> >
> > jochen kächelin
> >
>
> we were just discussing this yesterday - have a search in the archive.
>
> a good suggestion was setting up the cron to run /usr/local/bin/lynx -dump Âëž&cÚhaÖ•Î
> ©®Ÿhttp://wherever/blah.php >/dev/null which will do the job just fine.
I'm not sure how it would look like, but simply opening a conection to
the port 80 (or whatever port your web server is on), and ask to get the
php page which has the script. If you want, you can send the output to
your mail acount.
My 2 cents!
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
MartÃn Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------