in reply to program with a timer

That doesn't sound like a CGI program to me.

I think that you need a Perl script which uses LWP to grab the data from the web page and puts it in the database using DBI/DBD. You'd then set up a cron job to run your script periodically.

No CGI there at all.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Replies are listed 'Best First'.
Re: Re: program with a timer
by Caillte (Friar) on Jan 12, 2001 at 15:08 UTC

    An alternative for win xx users:

    $five_mins = 300; while(not $exit_condition) { # Run LWP code here sleep($five_mins); }
      On WINNT you can use their AT command to schedule programs to run. I've used it for automating cron-type jobs and it works reasonably well.

      Simply type  

      at/?
      in your DOS/command window to get more information.

      Mick
        and, in case no one knows but may care, wincron...it's free

        ______________________________________________
        When I get a little money, I buy books. If I have any left over, I buy food and clothes. -Erasmus