Documentation menu

Separate business and after-hours shifts (delegated to a partner team)

Demonstrates a schedule with after-hours shifts handled by a different partner team.

Use this when two teams in different time zones cover different hours of the day.

Unlike the basic after-hours example, which treats every day the same, this one uses the Weekdays wildcard so Saturday and Sunday are after-hours too, and the partner team covers that whole 48 hours.

Shift Configuration Entries

Day:Hour:Minute:Primary:Secondary:
Weekdays0900BEST_MEMBER[Not assigned]
Weekdays1700partner-rotation[Not assigned]

Sample Assignment for the main schedule

2023-07-24 09:00 person2@example.com    # Mon
2023-07-24 17:00 partner-rotation
2023-07-25 09:00 person1@example.com    # Tue
2023-07-25 17:00 partner-rotation
2023-07-26 09:00 person3@example.com    # Wed
2023-07-26 17:00 partner-rotation
2023-07-27 09:00 person2@example.com    # Thu
2023-07-27 17:00 partner-rotation
2023-07-28 09:00 person3@example.com    # Fri
2023-07-28 17:00 partner-rotation
2023-07-31 09:00 person1@example.com    # Mon

Assignment Details

This configuration results in On-Call Optimizer balancing team members in a very similar way to the business hours example, using a single shift type covering each 8 hour period on Mon-Fri.

The main schedule also has two shift types for the partner team (16-hour overnight shifts, and 64-hour weekend shifts). As explained below, those types are not used for balance.

Partner Team Schedule

Shifts given to the partner team come from that team’s own schedule, which is unchanged by being referenced here. The partner team can use any rotation they like, independent of the main schedule.

In this example, the partner team is using the Simple Daily Rotation configuration which assigns a single shift per day, and still aims to give each member a balanced number of daily shifts.

Fully Rendered Schedule

In the On-Call Optimizer web UI, or exported to an on-call product, the combined schedule looks like this:

2023-07-24 09:00 person2@example.com    # Mon
2023-07-24 17:00 member2@example.com    # Mon 10:00 in partner-rotation America/Los_Angeles
2023-07-25 09:00 person1@example.com    # Tue
2023-07-25 17:00 member1@example.com    # Tue 10:00 in partner-rotation America/Los_Angeles
2023-07-26 09:00 person3@example.com    # Wed
2023-07-26 17:00 member3@example.com    # Wed 10:00 in partner-rotation America/Los_Angeles
2023-07-27 09:00 person2@example.com    # Thu
2023-07-27 17:00 member2@example.com    # Thu 10:00 in partner-rotation America/Los_Angeles
2023-07-28 09:00 person3@example.com    # Fri
2023-07-28 17:00 member3@example.com    # Fri 10:00 in partner-rotation America/Los_Angeles
2023-07-29 17:00 member3@example.com    # Sat 10:00 in partner-rotation America/Los_Angeles
2023-07-30 17:00 member1@example.com    # Sun 10:00 in partner-rotation America/Los_Angeles
2023-07-31 09:00 person1@example.com    # Mon
2023-07-31 17:00 member2@example.com    # Mon 10:00 in partner-rotation America/Los_Angeles

Return to the list of other examples

Last updated October 22, 2026