[H-GEN] Want squid to automatically update certain sites every 10 mins

Shane Ravenn sravenn at optusnet.com.au
Sat Mar 22 06:48:44 EST 2003


On Sat, 22 Mar 2003 21:22:50 +1000
"t" <s4565 at lycos.co.uk> wrote:

> There are a few sites which I look at a lot, and what I want to do is
> make sure the cached version is updated on a regular basis even if I
> do not expliclty look at the site with a browser  So I want squid look
> up the site every 10 mins.  I was thinking of simply doing something
> like this in a script file
> 
> lynx http://www.smh.com.au
> http://www.theaustralian.news.com.au/
> lynx http://news.bbc.co.uk
> 
> and just making the script file run every 10 mins.  But this looks a
> bit dodgy doing this, and lynx will not download the pictures(??).  Is
> there a better way?

Hi Tony.

I would say that the perfect tool for this would be wget. Look at the
man page to get the options you feel you need, but it is very
configurable. Combine this with cron and I believe that you should get
exactly what you want. 

Shane Ravenn

-- 
A wise person makes his own decisions, a weak one obeys public opinion. 
 - Chinese proverb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20030322/b87ee0fb/attachment.sig>


More information about the General mailing list