production beginner

Schedule Directive Agent

Focused example for delayed scheduling, bounded retries, and CRON-based recurring signals.

scheduling directives cron coordination l1

Related guides and notebooks

What you’ll learn

  • How %Directive.Schedule{} drives delayed work.
  • How to implement bounded retries without loops.
  • How to define CRON schedules directly on the agent.

How it works

The demo combines two scheduling layers:

  • Directive schedule for immediate delayed transitions (start_timer, start_retry).
  • CRON schedules declared in use Jido.Agent for recurring runtime signals.

You can also trigger cron.tick and cron.hourly manually to verify behavior instantly.