A week calendar with the working hours of five days marked and a clock beside it
SchedulingTrigger WindowsAuto Schedule

Screenshot a website only during business hours

An hourly schedule captures at 03:00 and on Sunday afternoon as faithfully as on Monday morning. If the page only changes while people are working, most of those captures show nothing new. A Trigger Window keeps the schedule to the hours and days that matter.

· 4 min read

The problem

Why limit when captures run

Capture frequency says how often. It has no opinion about when. An hourly schedule is twenty-four captures a day, every day, and each one counts against your plan and takes up storage.

The same schedule, with and without a window
Hourly, any time             24 a day    about 720 a month
Hourly, 09:00 to 17:00        9 a day    about 270 a month

A window that covers a nine-hour working day removes most of the volume without losing anything you would have looked at. Other reasons are about the page, not the cost: a price list that is updated on the 1st, a promotion that only runs at weekends, a report that is published at month end.

The idea

What a Trigger Window is

A Trigger Window is a named set of rules about time, attached to a Web Profile. It does not start captures. It shapes where the next one lands: when a run would fall outside the window, it is moved forward to the next moment the window allows.

A window is made of one or more triggers. Each trigger has three parts: time ranges, days of the month and days of the week.

Setup

Creating one

  1. Open Auto Schedules › Configure › Trigger Windows and press Add Trigger Window.
  2. Give it a Trigger Window Name. You will pick it from a dropdown later, so name it for what it allows: "Office hours", "Month end".
  3. Fill in Trigger 1. Time Ranges needs at least one range with a start and an end. Days of the Month is None, All or Custom, where Custom is a grid of 1 to 31 plus Last. Days of the Week is None, All, Week (Monday to Friday), Weekend or Custom.
  4. Press Add Trigger if the window needs a second, unrelated pattern.
A new trigger allows nothing yet
Both day selectors start on None, and a trigger with both on None allows no day at all. The form will not save a trigger with no days selected, with no time range, or with a range whose start is later than its end.
Recipes

Windows to copy

  • Weekdays, office hours. One trigger: time range 09:00 to 17:00, Days of the Week set to Week. Nothing is captured on Saturday or Sunday.
  • Office hours, split for lunch. One trigger with two ranges, 09:00 to 12:30 and 13:30 to 17:30, and Days of the Month set to All.
  • Month end. One trigger: Days of the Month set to Custom with only Last ticked, and a time range. Last means the final day of whichever month it is, so it is right in February too.
  • The 1st and the 15th. One trigger: Custom with 1 and 15 ticked, plus a time range.
  • Two unrelated patterns. Two triggers in one window: the 1st at 06:00 to 08:00, and Last at 18:00 to 20:00.
Read this once

Three rules that catch people out

  • Inside one trigger, the day and the time must both match. A trigger set to the 1st, 09:00 to 17:00, allows one day a month. It does not mean the 1st and also every afternoon. Between triggers it is the other way round: any one of them is enough.
  • Both ends of a range count. 09:00 to 17:00 includes 09:00 and 17:00 exactly, which is why an hourly schedule in that window makes nine captures and not eight.
  • A moved run lands at the earliest start time of the trigger. With ranges of 09:00 to 12:00 and 14:00 to 17:00, a run due at 20:00 moves to 09:00 on the next allowed day, not to the next range that would have held it.
Using it

Attaching it to a schedule

A window is attached to the Web Profile, not to a single schedule. On the Web Profile form, open Fine-tuning › When captures may run and choose the window under Allowed window. Left on Any time, captures run whenever the frequency says.

  • One window, many schedules. Every schedule that shares the profile obeys the same window. Change the window once and all of them follow.
  • It shapes the next run, not the current one. Attaching a window does not cancel a capture that is already due.
  • One page needs different hours? Clone the profile and give the copy its own window, so the shared one stays as it is.

The post on scheduling website screenshots covers choosing the frequency itself, and time zones in scheduling explains why 09:00 has to belong to a place.

Questions

FAQ

Does a Trigger Window start extra captures?

No. It only moves runs the capture frequency would have made anyway. A daily schedule with a window still captures about once a day; it simply does not do so outside the window.

Which time zone does the window use?

The same zone the schedule's start and stop times use: the schedule's own time zone if you gave it one, otherwise your global time zone. It follows daylight saving, so an office-hours window stays office hours across the change.

Can a time range run past midnight?

No. A range such as 22:00 to 02:00 is rejected when you save. To cover a night, use two ranges: 22:00 to 23:59 and 00:00 to 02:00.

Does Quick Capture respect the window?

No. A capture you start by hand runs straight away, whatever the window says.