How to design a reliable scheduled sync job

Choose a schedule, track progress across runs, and make sure interrupted jobs can catch up without skipping records.

Choose a schedule that serves the process

A procurement report that managers review at nine in the morning needs its data ready before then. Use that deadline to choose the start time, allowing room for the source export, processing, and a retry if a dependency is late.

Document the time zone and any holidays or business days the schedule follows. If a team operates in several locations, share which clock governs the job. That explanation helps staff interpret an apparent delay when clocks or staffing change.

Advance from a durable checkpoint

Record how far each successful run progressed. Use a source change cursor or an ordered combination of timestamps and stable record IDs when supported. Keep the checkpoint behind records whose destination writes are still unconfirmed.

Consider reading a small overlapping window if the source can publish records late or the order of updates is uncertain. Make repeated processing safe with stable references. Use the same criteria when you intentionally reload a past time range.

Keep runs from interfering with each other

Decide what happens when a new run is due and the previous one is still working. You might skip the new start and let it catch up later, or limit concurrency by account so work for independent customers can continue.

Give each run a reference and record the range it attempted, what finished, and which items still need attention. Apply checkpoints at agreed boundaries so an operator can restart after an interruption without depending on an old process still running.

Test recovery with a missed run

Turn off one scheduled run in a safe environment and check whether the next run picks up its work. Include a record at the checkpoint boundary and an update that arrives late. Compare the results in both systems.

Give operators a way to run a limited backfill for an explicit range. Show what it will process and how it handles already completed records. After recovery, compare counts and sample records before marking the period complete.

Browse Integrations & automation articles

Related articles

How to send website leads to your CRM

Design a website-to-CRM workflow that captures enquiries, routes them to the right team, and gives someone ownership of exceptions.