Blog
Getting the Timing Right: Cron, Delays and Engine Runs
Understand when a cart becomes abandoned and when follow-ups actually go out.

Timing facts worth knowing
| Fact | Detail |
|---|---|
| When a cart counts as abandoned | “Abandoned after” minutes after the shopper’s last activity (15 by default, 1–1440). Coming back restarts the clock. |
| When follow-ups are sent | At “Send after” after the abandoned moment — but only when the engine runs. With the default 15-minute interval, a follow-up scheduled for 10:30 goes out at the run on or after 10:30. |
| How many per run | “Messages per run” (20 by default, 1–500). The rest follow in the next run. |
| How many carts become abandoned per run | Up to 500; the rest follow in the next run. |
| First follow-up by default | 30 minutes after the cart was abandoned. |
| What “after abandonment” means for timing | The abandoned moment is the last activity plus the “Abandoned after” minutes. A template set to 30 minutes is therefore due about 45 minutes after the shopper left (15 + 30 with the defaults), and goes out at the next engine run after that. |
| The engine runs | Every 5, 10, 15, 30 or 60 minutes (15 by default), or by hand with Run the engine now under Tools. |
| WordPress needs a trigger | The engine is a WordPress scheduled job (WP-Cron). WP-Cron runs when someone visits the site. On a quiet store, runs can be late; a real server cron job that calls wp-cron.php every few minutes keeps the timing exact. |
| A run does not overlap the last | While a run is going, no second run starts. The next one simply waits for its own slot. |
| When sending is switched on | An engine run follows within a minute. Every cart that is abandoned at that moment and not lost yet is planned: the first follow-up whose moment has passed goes out at once, the next ones keep their spacing to each other. Carts abandoned longer ago than “Lost after” are never mailed. |
| What “keep their spacing” means | A cart abandoned four days ago, with the three default emails, gets the first email at once, the second 23½ hours later and the third two days after that — not all three in the same minute. |
| After a pause | Messages that were queued before you paused keep their times; they are not spaced again. When every one of them became overdue during the pause, they go out together in the next run (at most “Messages per run” per run). |
| When a hand-over fails | The message goes back to Queued and is tried again after 1, 5 and 15 minutes, then 1, 3, 12 and 24 hours: eight tries in about forty hours. An engine run is started at the end of each pause. Only then is it Failed. |
Keep the timing exact with a real cron job
WordPress runs its scheduled jobs when someone visits the site. On a quiet store, a run can be hours late, so a follow-up can be hours late too.
To keep the timing exact, let the server trigger WordPress every five minutes:
- In
wp-config.php, add above the line that says/* That's all, stop editing! */:
php
define( 'DISABLE_WP_CRON', true ); - Create a cron job on the server that calls the site every five minutes:
*/5 * * * * curl -s "https://your-site/wp-cron.php?doing_wp_cron" >/dev/null 2>&1 - Under CartWin → Tools, check that Next scheduled run shows a time in the near future.
Leave Engine runs on a value your cron job can serve — every 15 minutes is a good start. If you change it later, save the settings once so the job is re-registered.
Scheduled events
| Hook | Schedule | Does |
|---|---|---|
cartwin_cron_run |
cartwin_interval_5 … cartwin_interval_60 (default 15) |
One engine pass (3.2) |
cartwin_engine_soon |
once: a minute after sending was switched on in the settings, and at the end of each retry pause | One engine pass; logged with the origin “sending switched on” in both cases |
The intervals cartwin_interval_{5,10,15,30,60} are registered on cron_schedules.
Get started for free
CartWin is free, open source, and runs on your own WordPress site. Download CartWin from WordPress.org.
Questions? Write to [email protected].