Skip to content

scheduler capability

scheduler adds cron-style periodic task scheduling to your Go service for recurring background jobs.

  • Cron-like scheduler
  • Job registration
  • Configurable intervals

Use scheduler for periodic tasks — cleanup jobs, report generation, polling external APIs, or triggering the outbox relay worker. Simpler than deploying a separate cron container when the job is tightly coupled to your service’s dependencies.

Terminal window
verikt new my-service --language go --cap scheduler
# or add to an existing service:
verikt add scheduler

outbox

Scheduler triggers the outbox relay worker periodically.

worker

Background worker pool for executing scheduled jobs.

graceful

Graceful shutdown to let in-progress scheduled jobs complete.