Scheduled Tasks
Overview
The Scheduled Tasks functionality in Weaver WMS allows for the creation and management of recurring tasks to automate processes. This can be configured by navigating to Settings -> Scheduled Tasks (icon with a clock).
Viewing Existing Scheduled Tasks
Upon accessing the Scheduled Tasks section, a window displaying all existing tasks is presented:
- Name: User-defined task name.
- Type: The type of task.
- CRON: The time interval for the task execution, defined using CRON syntax (CRON expression reference).
- Parameters: Additional task-specific settings (e.g., warehouse stock level analysis).
Adding a New Scheduled Task
To create a new task, click the Add button.
- Define the Name of the task.
- Select the Type (e.g., analysis).
- Set the CRON schedule (e.g., daily at 11:00 PM).
- Specify the Parameters: For instance, select the "Warehouse Space Utilization" analysis.
- Configure the task as desired using the "Run Configuration" option.
- Save the parameter settings, then save the overall task configuration.
Hangfire Panel Integration
Clicking the Panel button opens the Hangfire interface in a web browser. After logging in, navigate to Recurring Jobs to view the newly created task.
Testing Scheduled Tasks
To test the task, select it in the Hangfire panel and click Trigger Now. The task execution status can be verified in the Jobs tab.
This structured approach ensures the documentation is clear, professional, and suitable for technical use cases.