Re: [squid-users] automate flushing of cache

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 07 Aug 2006 13:19:06 +0200

mån 2006-08-07 klockan 11:56 +0100 skrev Jim Christy:

> Wondering if anyone has an automated cache-flushing script which can
> be run as a cron job?

why?

It's maintained automatically. You should not need to flush the cache.

> I know the system calls to actually flush the cache, but my problem is
> that squid often takes a while to actually shut itself down.

When shutting down Squid you need to monitor the pid to determine when
Squid has shut finally down. Can be done by simply running "squid -k
check" and checking the return code..

Regards
Henrik

Received on Mon Aug 07 2006 - 05:19:11 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:01 MDT