Skip to content

Timers

TODO: Write content for this page.

Set up one-shot and periodic timers in canisters. Cover the timer API for both Rust (ic_cdk_timers) and Motoko (Timer module). Explain migration from heartbeats to timers. Common patterns: periodic cleanup, scheduled data aggregation, timed state transitions. Include cycle cost implications.

  • concepts/timers — how the global timer mechanism works
  • guides/canister-management/lifecycle — timer setup during canister init
  • reference/cycles-costs — timer execution costs