Cron scheduler worker #115

Closed
opened 2026-01-30 05:02:41 +00:00 by jason.woltje · 0 comments
Owner

Implement the worker that actually executes scheduled MoltBot commands based on CronSchedule entries.

Requirements

  • Poll CronSchedule table for due schedules
  • Trigger MoltBot commands when schedules fire
  • Update lastRun/nextRun fields after execution
  • Handle missed executions gracefully
  • Add observability (logging, metrics)

Technical Notes

  • Can run as a separate worker service or part of api
  • Consider using a priority queue for schedule timing
  • Webhook or internal API call to trigger MoltBot
  • See plugins/mosaic-plugin-cron/SKILL.md for command format
Implement the worker that actually executes scheduled MoltBot commands based on CronSchedule entries. ## Requirements - Poll CronSchedule table for due schedules - Trigger MoltBot commands when schedules fire - Update lastRun/nextRun fields after execution - Handle missed executions gracefully - Add observability (logging, metrics) ## Technical Notes - Can run as a separate worker service or part of api - Consider using a priority queue for schedule timing - Webhook or internal API call to trigger MoltBot - See plugins/mosaic-plugin-cron/SKILL.md for command format
jason.woltje added this to the M4-LLM (0.0.4) milestone 2026-01-30 05:02:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#115