Tag

#schedule

2 posts

Resonate brand card on a dark background with an ember spectrum wave at the bottom and the post headline in white Sansation.
5 min readResonate HQ

Periodic function on a cron schedule in Rust on Resonate

How `resonate.schedule(name, cron, func_name, args)` registers a server-side cron whose ticks become durable promises picked up by any worker in the group.

Run a Rust function on a cron expression where every tick is a durable promise on the server. If a worker crashes mid-tick, another worker in the group resumes the same execution — the tick is not lost.