scheduler_cmd
diapason.cli.scheduler_cmd
¶
diapason scheduler -- task scheduling commands.
scheduler()
¶
Manage scheduled tasks.
scheduler_cancel(task_id)
¶
Cancel a scheduled task.
scheduler_create(prompt, schedule_type, schedule_value, agent, tools)
¶
Create a new scheduled task.
scheduler_list(status)
¶
List scheduled tasks.
scheduler_logs(task_id, limit)
¶
Show run logs for a scheduled task.
scheduler_pause(task_id)
¶
Pause a scheduled task.
scheduler_resume(task_id)
¶
Resume a paused task.
scheduler_run_task(agent_name, dry_run)
¶
Immediately execute the active task for AGENT_NAME.
Finds the first active scheduled task whose agent matches AGENT_NAME and runs it right now — useful for testing and for launchd invocation when Diapason is not running as a persistent daemon.
Example (launchd plist ProgramArguments): diapason scheduler run-task proactive
scheduler_start(poll_interval)
¶
Start the scheduler daemon (foreground).