Skip to main content

start

Method
This is a method of the AgentScheduler class in the agent_scheduler module.
Start scheduled agent execution.

Signature

def start(schedule_expr: str, max_retries: int, run_immediately: bool) -> bool

Parameters

schedule_expr
str
required
Schedule expression (e.g., “hourly”, ”*/1h”, “3600”)
max_retries
int
default:"3"
Maximum retry attempts on failure
run_immediately
bool
default:"False"
If True, run agent immediately before starting schedule

Returns

Returns
bool
True if scheduler started successfully