Re: Time Restrictions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 07 Jan 2000 05:29:50 +0100

Hillel Bilman wrote:
>
> Greetings
>
> I have a client who doesn't want his staff to use the web during
> office hours ie they can only use the web from 13h00 to 14h00 and
> after 17h00 till 8h00 the next morning.
>
> According to the squid.conf :
> >acl aclname time [day-abbrevs] [h1:m1-h2:m2]

> Will this work :
>
> acl disallowedtime1 time [M-F] [8:0 -13:0]

No.
The syntax is
acl disallowedtime1 time MTWHF 13:00-17:00

Where either of the day-abbrevs or time-spec is optional. A missing
day-abbrevs implies every day, and a missing time-spec implies all the
day.

--
Henrik Nordstrom
Squid hacker
Received on Thu Jan 06 2000 - 21:48:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:16 MST