Skip to main content

Schedules

A schedule defines time windows during which automated actions (Fix, Remove) are suppressed. Policies always run; schedules only control whether actions are applied.

The schedules page with active and inactive protection windows

How Schedules Work

When a schedule is assigned to a workspace assignment:

  1. On every scan cycle, Kostavo evaluates the schedule
  2. The current time is converted to the schedule's configured timezone
  3. If the current time falls within the schedule's active window, the schedule is considered active
  4. When active, policies still execute and findings are recorded, but Fix and Remove actions are skipped
  5. When inactive (outside the window), actions proceed normally

Key point: Schedules protect resources during defined hours. They do not prevent monitoring, only automated changes.

Example

A schedule named “Business Hours” configured for Mon–Fri 9am–6pm EST:

TimeSchedule ActivePolicies RunActions Applied
Tuesday 2pm ESTYesYesNo, actions skipped
Tuesday 8pm ESTNoYesYes
Saturday 10am ESTNoYesYes
No schedule assignedN/AYesYes

Schedule Types

Simple

Defined by:

  • Days of week: e.g. Monday through Friday (0-4)
  • Start hour / End hour: e.g. 9–18
  • Timezone: e.g. America/New_York

Overnight windows are supported: if end hour is less than start hour, the window wraps past midnight.

Daily Custom

For more granular control, define different time ranges per day using start/end times at minute precision:

Monday:    [{start: "09:00", end: "18:00"}]
Tuesday: [{start: "09:00", end: "18:00"}]
Wednesday: [{start: "09:00", end: "12:00"}, {start: "14:00", end: "18:00"}]

Schedule Templates

Kostavo provides pre-built schedule templates:

TemplateWindowUse Case
Block Business HoursMon–Fri 9am–6pmProtect dev workspaces during work hours
Block OvernightDaily 11pm–6amLight overnight protection
Block WeekendsSat–Sun all dayWeekend protection

Create from a template via SchedulesNew schedule. The template is copied; you can customize the days, hours, and timezone after creation.

The schedule template picker shown when creating a new schedule

Date Overrides

Schedules support date-level overrides:

  • Excluded dates: force the schedule inactive on specific dates (e.g. company holidays when no one is working, so actions should run)
  • Included dates: force the schedule active on specific dates (e.g. a Saturday where the team is working)

Timezone Handling

Each schedule has a single timezone. All times in the schedule are interpreted in that timezone.

  • Daylight saving transitions are handled automatically; 9am local stays 9am local
  • The organization's default timezone is used when creating new schedules, but each schedule can override it
  • Use standard timezone names (e.g., America/New_York, Europe/London, Asia/Singapore)

Assigning Schedules

Schedules are linked to assignments, not directly to workspaces or profiles. When you create or edit an assignment, you can optionally select a schedule.

One schedule can be reused across many assignments.