Repository navigation
Shift Work Mode
If you also work shifts (Sling, When I Work, Deputy, 7shifts or any rota that lands in a calendar), shift-work mode makes booking follow your posted schedule:
- Booking opens only as far as your last posted shift, so nobody books a time that could still become a shift.
- When the next schedule is posted, those days open on their own.
- Every shift blocks its own time, plus free time you choose before and after it.
| Setting (Where bookings go) | Default | Effect |
|---|---|---|
| Open booking only as far as | My "Book up to" limit (off) | Choose the calendar or feed that holds your schedule. Booking closes after the end of its last upcoming event |
| and the rest of that week, through Sunday | On | Extends the window to the Sunday of the week holding the last posted shift (weeks run Monday to Sunday) |
| Keep free before and after each shift | 60 minutes | Clear time around every event on the schedule calendar. It counts toward your usual Free time before / after settings instead of adding to them, so the gap is at least this long, never longer than needed |
The schedule calendar can be on any service: a Google calendar, an Outlook calendar, a CalDAV calendar, or an iCal feed. Its events always block their own times, whether or not they're ticked elsewhere. The usual Book up to limit still applies; the schedule can only shorten the window, never extend it.
| Situation | Result |
|---|---|
| Shifts posted through Thursday, "rest of that week" on | Bookable through Sunday of that week |
| Same, "rest of that week" off | Bookable through Thursday |
| Nothing posted in the next weeks | Nothing can be booked |
| The schedule calendar can't be read | Nothing can be booked (checked again within 2 minutes) |
| Last posted shift is beyond Book up to | Book up to wins |
| A day inside the window with no shift | Bookable within your hours |
The settings page shows the current result, for example "Right now: booking is open through November 15, 2026." The schedule end is recalculated at most every 15 minutes.
| Step | Where | What to do |
|---|---|---|
| 1 | Your scheduling app | Copy its calendar subscription link, or make sure your shifts land in a Google, Outlook or CalDAV calendar |
| 2 | Appointments → Settings → iCal feeds | Add the link as a feed (fastest: checked every 10 minutes) |
| 3 | Where bookings go → Open booking only as far as | Choose "my posted schedule on …" for that calendar or feed |
| 4 | Same row | Leave and the rest of that week, through Sunday on if days without shifts after your last shift should stay open |
| 5 | Same row | Set Keep free before and after each shift (minutes) |
| 6 | When people can book → Book up to | Set it at least as far ahead as your schedule is usually posted (for example 21 days), so it doesn't cut a posted week short |
flowchart TD
S["Schedule calendar or feed"] --> R{"Readable?"}
R -->|"no"| CL["Closed: nothing bookable"]
R -->|"yes"| L["Find the end of the last upcoming event, looking ahead Book up to + 7 days, at least 31"]
L --> N{"Any event?"}
N -->|"no"| CL
N -->|"yes"| W{"Rest of that week on?"}
W -->|"yes"| SUN["Extend to that week's Sunday"]
W -->|"no"| DAY["That event's day"]
SUN --> MIN["Window ends at the earlier of this and Book up to"]
DAY --> MIN
MIN --> OPEN["Days in the window open within your hours"]
flowchart LR
SH["Shift 12:00 to 16:00, 60 minutes kept free"] --> B1["Last call may end at 11:00"]
SH --> B2["First call may start at 17:00"]
| Symptom | Cause | Fix |
|---|---|---|
| "Right now: no upcoming schedule found, so booking is closed." | No future events on the schedule calendar, or it can't be read | Check the feed or calendar has your posted shifts; see Recent problems |
| A new week isn't bookable yet | The schedule hasn't reached the plugin yet. Feeds are checked every 10 minutes; a Sling calendar subscribed inside Google Calendar can take Google several hours to refresh | Add the schedule as an iCal feed directly instead of through Google |
| Booking stops earlier than the posted schedule | Book up to is shorter | Raise Book up to |
| Booking stays open far into the future | The schedule calendar also has a recurring or far-future event (for example a weekly meeting with no end) | Use a calendar or feed that holds only shifts |
| Times right after a shift are missing | The free time around shifts | Lower Keep free before and after each shift |
Related: iCal feeds · Availability rules · Calendar services · Settings reference
JAT Calendar Sync · free and open source (GPLv2 or later) · GitHub · by Jeremy Anderson Tech · This wiki is generated from docs/wiki/ in the repository; edit it there.
Set up
- Getting Started
- Calendar Services
- Google Calendar
- Outlook and Microsoft 365
- iCloud and CalDAV
- iCal Feeds
- Migrating from Anderson Appointment Booking
Use
- Appointment Types and Questions
- Availability Rules
- Shift-Work Mode
- Payments with Stripe
- Rescheduling and Cancelling
- Emails and Reminders
- Styling and Theming
- Block and Shortcode
- Settings Reference
Help
Developers