Module 4 · Lesson 3 of 6
Schedules and events
Cron in plain English, webhooks and polling, duplicates and idempotency, and the America/Toronto time zone.
10 min
Every automation starts somehow. Some start on the clock: "every weekday at 8:00 a.m., send the team today's showings". Others start when something happens: "when a web lead arrives, draft a reply". Choosing the right kind of start, and writing it correctly, decides whether your automation runs at the right moment, once, in the right time zone. Get it wrong and agents receive Monday's digest at 7:00 instead of 8:00 after the clocks change, or a client gets the same welcome email three times.
This lesson teaches you to read and write schedules in cron, the shorthand nearly every tool uses, and to handle event triggers safely, including the duplicate problem that catches almost everyone.
Schedules in plain English: cron
- Key term
- Cron expression
A five-part code that describes a repeating schedule. Each part is a field: minute, hour, day of the month, month, and day of the week. A star means "every".
Read the five fields left to right:
┌──────── minute (0-59)
│ ┌────── hour (0-23, 24-hour clock)
│ │ ┌──── day of month (1-31)
│ │ │ ┌── month (1-12)
│ │ │ │ ┌ day of week (0-6, Sunday = 0)
│ │ │ │ │
0 8 * * 1-5 = at 8:00, every day of the month, every month, Monday to Friday
Four symbols do almost all the work:
*means every value. A star in the hour field means every hour.,lists values.1,3,5in the day-of-week field means Monday, Wednesday and Friday.-is a range.9-17in the hour field means 9:00 through 17:00./is a step.*/15in the minute field means every 15 minutes.
| Cron | Plain English | Brokerage use |
|---|---|---|
0 8 * * 1-5 | 8:00 a.m., Monday to Friday | Daily showing schedule to agents |
30 7 * * 1 | 7:30 a.m. every Monday | Weekly market digest |
*/15 8-20 * * * | Every 15 minutes from 8:00 to 20:45 | Check a shared inbox for new inquiries |
0 17 * * 5 | 5:00 p.m. every Friday | Weekly pipeline hygiene report |
0 9 1 * * | 9:00 a.m. on the 1st of each month | Monthly rent reminders to the property manager |
0 10 15 1,4,7,10 * | 10:00 a.m. on 15 January, April, July and October | Quarterly past-client check-in drafts |
Two traps. First, if you fill in both the day-of-month and the day-of-week fields, standard cron runs when either matches, not both: 0 9 1 * 1 runs on the 1st and on every Monday. Second, some tools, n8n among them, accept an extra field for seconds. If you see six fields, check the tool's documentation before you edit.
Try it
Click each preset below (Morning lead digest, Check the inbox, Friday pipeline report, Monthly market update and Twice a day) and read the plain-English sentence. Then type in a few schedules from the table above, such as 30 7 * * 1 and 0 10 15 1,4,7,10 *, and check the next five runs, which the tool shows in Toronto time.
Read a cron schedule
Try itAutomation tools describe schedules with five fields. Pick a preset or type your own to see it in plain English, with the next runs in Toronto time.
- 0Minute
- 8Hour
- *Day of month
- *Month
- 1-5Day of week
At 8:00 a.m., Monday to Friday.
If the explanation surprised you, look at which field you changed. Most mistakes are a star in the wrong place (* 8 * * 1-5 runs every minute from 8:00 to 8:59, sixty times) or a day-of-week number off by one because Sunday is 0. Before you switch on any schedule, read it aloud as a sentence and check the next three run times your tool shows.
Time zones: America/Toronto
A schedule only means something with a time zone. Most tools store schedules in a time zone you set for the account, organization or workflow; some default to UTC, the world reference time. n8n, for example, uses each workflow's time zone setting and otherwise the instance's; self-hosted instances default to America/New_York. Always set the zone explicitly.
- Key term
- Time zone name
The standard name a computer uses for a region's local time and its daylight saving rules, such as
America/Toronto. Use the name, not a fixed offset like UTC-5, so the clock change is handled for you.
Ontario uses America/Toronto (Montréal uses it too). Clocks fall back at 2:00 a.m. on Sunday 1 November 2026 and spring forward at 2:00 a.m. on Sunday 14 March 2027. Three consequences:
- A job written as 12:00 UTC runs at 8:00 a.m. in Toronto in summer but 7:00 a.m. in winter. Use
America/Torontoand it stays at 8:00 a.m. - On the spring-forward night, 2:00 to 2:59 a.m. does not exist, so a 2:30 a.m. job may be skipped. On the fall-back night, 1:00 to 1:59 a.m. happens twice, so a 1:30 a.m. job may run twice. Do not schedule anything important between 1:00 and 3:00 a.m.
- Teams across provinces need care:
America/Vancouver,America/Edmonton,America/Winnipeg,America/HalifaxandAmerica/St_Johnsall change clocks, while most of Saskatchewan (America/Regina) does not.
Events: webhooks and polling
- Key term
- Webhook
A web address your automation tool gives you. Another system sends data to it the moment something happens, so the automation starts instantly.
- Key term
- Polling
Your automation tool asks the other system every few minutes, "anything new since last time?" It is simpler to set up but slower and can cost more.
| Webhook (push) | Polling (pull) | |
|---|---|---|
| Speed | Seconds | Up to the polling interval |
| Setup | Paste the webhook address into the sending system | Usually just sign in to the app |
| Cost | Runs only when something happens | Some tools charge for checks |
| Typical use | Website forms, CRM events, payment notices | Inboxes, spreadsheets, apps without webhooks |
Polling intervals depend on the plan. As of October 2026, Zapier's Free plan checks every 15 minutes and its Pro plan every 2 minutes; on Make, the shortest gap between scheduled runs depends on your plan and is longest on Free. For speed-to-lead, where minutes matter (Module 6), use a webhook.
Treat a webhook address like a key. Anyone who has it can send fake data into your workflow. Do not post it publicly, and where the tool allows, require a secret header. In n8n, note the difference between the test address, which works only while you are listening in the editor, and the production address, which works once the workflow is published.
Duplicates and idempotency
Duplicates happen more than you expect. A website retries a webhook because your tool was slow to answer. A visitor double-clicks Submit. A failed run is replayed. A polling trigger overlaps with a manual run.
- Key term
- Idempotent
A step is idempotent when running it twice has the same effect as running it once. Creating a contact is not idempotent; "create the contact only if this email is not already there" is.
Ways to make workflows safe to repeat:
- Use a unique key. Every lead gets an ID, or you build one, such as email plus listing ID plus date. Store keys you have processed and skip repeats.
- Search before create. Look up the contact by email; update if found, create if not. Most CRM connectors offer "find or create".
- Never resend blindly. Before any send step, check the log: has this lead already received this message?
- Process "since the last successful run", not "the last 24 hours". If a run fails or the server was down, the next run catches up without gaps or overlaps.
In practice
Maple & Main Realty (fictional) sets up two triggers. The weekly digest uses 30 7 * * 1 in America/Toronto, so agents get it at 7:30 a.m. every Monday, through the November clock change. It reads new listings since the last successful run, stored in a small table, so a missed Monday is caught up the following week.
Web leads arrive by webhook from the website form. The workflow builds a key from the form's submission ID and checks a log sheet before doing anything. When the website retried three submissions during a slow afternoon, the log caught all three, and no client got a second reply.
Common mistakes
- Leaving the tool's default time zone, so schedules shift by an hour twice a year.
- Scheduling between 1:00 and 3:00 a.m., when clock changes skip or repeat times.
- Using polling for leads when a webhook is available.
- Assuming each event arrives exactly once.
- Sharing the webhook address in an email or a public page.
Key takeaways
- Cron has five fields: minute, hour, day of month, month, day of week. Read every schedule aloud before switching it on.
- Always set the time zone by name, such as
America/Toronto, and avoid the 1:00 to 3:00 a.m. window. - Webhooks are instant; polling is simpler but slower. Use webhooks where speed matters.
- Expect duplicates. Use unique keys, search before create, and check the log before any send.
Finished reading? Move on when you're ready.