Scheduler CLI
Schedule agents and recipes to run periodically as background daemons. Perfect for monitoring tasks, periodic reports, and automated workflows.Commands Overview
Start a Scheduler
With a Task Prompt
With a Recipe
With an Agents YAML File
Start Options
Interval Formats
List Schedulers
Output
Stop a Scheduler
View Logs
Restart a Scheduler
Delete a Scheduler
Describe a Scheduler
Output
Save Scheduler Config
Export a scheduler’s configuration to YAML:Output YAML
Show Statistics
Examples
Complete Workflow
Foreground Mode (for Testing)
Production Daemon
Multiple Schedulers
Troubleshooting
Scheduler Not Starting
If scheduler fails to start:- Check if name is already in use:
praisonai schedule list - Verify recipe exists:
praisonai recipe list - Check logs for errors
High Cost
If costs are higher than expected:- Set
--max-costbudget limit - Increase interval between executions
- Use a smaller/cheaper model
Scheduler Stopped Unexpectedly
If scheduler stops:- Check logs:
praisonai schedule logs <name> - Verify API keys are set
- Check if budget limit was reached
Cannot Stop Scheduler
If stop command doesn’t work:- Get PID from list:
praisonai schedule list - Kill manually:
kill <PID> - Delete state:
praisonai schedule delete <name>
See Also
- Scheduler SDK - Python API for scheduling
- Background Tasks CLI - One-time background tasks
- Async Jobs CLI - Server-based job execution

