Skip to main content
CLI man page: safesquid-timeProfiles(5)
The Time Profiler section (safesquid-timeProfiles(5)) tags connections with time labels from the appliance local clock. Access Profiles Time Schedule matches these tags.

Core mechanics

Row gate order

  1. Time Profiles prerequisite tags (profile_find).
  2. Weekday range — always enforced (Sunday = 0 … Saturday = 6).
  3. Match mode — ABSOLUTE timestamp window or ALL RANGES (month + day + minutes-from-midnight).
  4. Add/remove time labels.
Time Profiler match flow

Time Profiler — match flow

Weekday active flag is stored but not checked — weekday bounds always apply. Set explicit 0–6 or 1–5 ranges; template default 0 alone matches Sunday only.

Match modes

  • ABSOLUTE — Single start/end timestamp from configured month, day, hour, minute fields.
  • ALL RANGES — Current month, day-of-month, and time-of-day must each fall in inclusive windows.

Examples

Business hours

Config: Weekday Mon–Fri, hours 9–17, ALL RANGES, add business-hours.Result: tag present weekdays 09:00–17:59 local time.

Lunch window

Config: Weekday 1–5, hours 12–13, add LUNCH_TIME.Result: Access Profiles can Allow/Deny based on lunch tag.

How to verify

  1. Test inside and outside window with Trace Entry.
  2. Detailed logs time_profiles column.
  3. Confirm appliance timezone and clock.