scheduler_cmd
scheduler_cmd
¶
diapason scheduler -- task scheduling commands.
Functions:¶
scheduler
¶
scheduler_create
¶
scheduler_create(
prompt: str,
schedule_type: str,
schedule_value: str,
agent: str,
tools: str,
) -> None
Create a new scheduled task.
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_list
¶
List scheduled tasks.
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_pause
¶
Pause a scheduled task.
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_resume
¶
Resume a paused task.
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_cancel
¶
Cancel a scheduled task.
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_logs
¶
Show run logs for a scheduled task.
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_run_task
¶
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
Source code in src/diapason/cli/scheduler_cmd.py
scheduler_start
¶
Start the scheduler daemon (foreground).