How to setup a profile that is valid on a schedule

Alan DeKok aland at
Sun Apr 2 23:09:08 CEST 2017

On Apr 2, 2017, at 4:07 PM, Kenroy <bennettk9999 at> wrote:
> I have the following policy and would love it to be available  on the
> following schedule. How do I modify the profile to allow this
> Monday - Friday 7 am to 6pm
> Saturday 7am - 3pm

  See Current-Time, documented (sort of) here:

  It takes the same format time string as Login-Time, but it doesn't update Session-Timeout

	if (Current-Time == "Wk0700-1800,Sa0700-1500") {
		# it's the time as specified

  Alan DeKok.

More information about the Freeradius-Users mailing list