start
Method
This is a method of the AgentScheduler class in the agent_scheduler module.Start scheduled agent execution.
Signature
Parameters
str
required
Schedule expression (e.g., “hourly”, ”*/1h”, “3600”)
int
default:"3"
Maximum retry attempts on failure
bool
default:"False"
If True, run agent immediately before starting schedule
Returns
bool
True if scheduler started successfully
Uses
logger.warningScheduleParser.parselogger.infothreading.Threadstartlogger.error
Used By
PraisonAgentExecutor.executeAgentScheduler.startProfiler.streamingProfiler.streaming_asyncProfiler.memory
Source
View on GitHub
praisonai/agent_scheduler.py at line 169
