Re: [squid-users] Squid Start Stop

From: Yann Verry <yanntech@dont-contact.us>
Date: Tue, 11 Dec 2007 12:24:25 +0100

Hi,

You just need to add in your crontab a job to stop and start squid. I
don't know why you need that but

# crontab -e
put in the crontab editor :

0 */4 * * * /etc/init.d/squid stop && /etc/init.d/squid start

You can replace the command line by a "restart".

Cheer,

On Dec 11, 2007 12:05 PM, Jagdish <jagdish@accord-soft.com> wrote:
> Hi,
>
> I want to stop and start squid every four hours automatically. How do I
> achieve this ? This is required for reseting the connection.
>
> Thanks
>
> Regards
>
> Jagdish
>
>
> ##############################################################################################################################################
> The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by
> persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete
> the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is not responsible for any changes made to the material other
> than those made by ACCORD or for the effect of the changes on the meaning of the material.
> ##############################################################################################################################################
>

-- 
       .~.        http://www.YannTech.net
       /V\           +33 (0)6 17 90 23 81
     //    \\
    /(     )\
    ^`~'^    Powered by GNU/Linux
Received on Tue Dec 11 2007 - 04:24:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:01 MST