Scheduler¶
Introduction¶
The Scheduler component allows users to create, assign, and prioritize tasks easily. Users can set task triggers, allocate resources, and define dependencies between tasks. Real-time updates and event notifications keep stakeholders informed about task progress. It is a crucial software component that automates the execution of tasks at specific intervals or conditions, optimizing resource management and ensuring timely performance across various computing environments.
Diagram¶
graph LR;
A[Database] --> |Insert Task|B{Scheduler}:::agentStyle;
B --> C[Task Trigger]
C --> D{Worker Agent}:::agentStyle;
classDef agentStyle stroke: #4a90e2, stroke-width: 2px, fill-opacity: 0, color:#000000;
Run the Scheduler¶
The scheduler starts automatically during installation. To manage the scheduler lifecycle, refer to Scheduler Management or use the Scheduler Dashboard.
Frequently Asked Questions¶
Q: What does the Scheduler component do? A: The Scheduler automates the execution of tasks at specific intervals or conditions. It allows users to create, assign, and prioritize tasks with triggers, resource allocation, and dependencies, while providing real-time updates and event notifications.
Q: How do I run the Scheduler?
A: The scheduler starts automatically during installation. You can manage it through the Scheduler Dashboard (/scheduler) or the system service manager. Refer to the Scheduler Management guide for detailed procedures.
Q: What is the relationship between the Scheduler and Worker Agents? A: The Scheduler reads task definitions from the database, determines when tasks should run based on triggers and dependencies, and then dispatches them to Worker Agents for actual execution. Worker Agents run on target hosts and report results back.