Summary
Add native scheduling capabilities to opencode (e.g., opencode schedule --cron '0 9 * * *' --skill recruiter-response).
Motivation
Currently, users must rely on OS-level tools like crontab or SystemD timers to run recurring tasks. This creates friction and platform dependency (e.g., Windows vs. macOS/Linux). A native scheduler would improve the user experience for autonomous agents.
Proposed Solution
- Add a
schedule command.
- Allow defining schedules via cron syntax or natural language (if possible).
- Persist schedules in the opencode configuration.
- Run a background daemon to handle scheduled tasks (could leverage
opencode serve).
Summary
Add native scheduling capabilities to opencode (e.g.,
opencode schedule --cron '0 9 * * *' --skill recruiter-response).Motivation
Currently, users must rely on OS-level tools like
crontabor SystemD timers to run recurring tasks. This creates friction and platform dependency (e.g., Windows vs. macOS/Linux). A native scheduler would improve the user experience for autonomous agents.Proposed Solution
schedulecommand.opencode serve).