Skip to main content

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).

Scheduled Tasks menu

Viewing Existing Scheduled Tasks

Upon accessing the Scheduled Tasks section, a window displaying all existing tasks is presented:

List of Scheduled Tasks

  • Name: User-defined task name.
  • Type: The type of task.

Task details

  • 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).

Example parameters

Adding a New Scheduled Task

To create a new task, click the Add button.

Add Task button

  1. Define the Name of the task.
  2. Select the Type (e.g., analysis).
  3. Set the CRON schedule (e.g., daily at 11:00 PM).

Task configuration example

  1. Specify the Parameters: For instance, select the "Warehouse Space Utilization" analysis.
  2. Configure the task as desired using the "Run Configuration" option.
  3. Save the parameter settings, then save the overall task configuration.

Saving Parameters and Tasks

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.

Hangfire Panel

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.

Task execution logs


This structured approach ensures the documentation is clear, professional, and suitable for technical use cases.