Timed tasks
Scheduled task management for projects.
note
If sonic-server-controller is deployed on multiple nodes when deploying sonic-server, the same scheduled task will not be sent repeatedly on different sonic-server-controller nodes, and Quartz will automatically ensure that it will only be triggered once.
Add scheduled tasks
- Go to the home page and click the target item.
- Click the [Test Case Management] option.
- Click the [Scheduled Task] option.
- Click the [Add Scheduled Task] button.
- Enter the scheduled task name and Corn expression, and select the test suite to be executed regularly.
- Click the [OK] button.
- The scheduled task has been added!
Turn off/on scheduled tasks
- Go to the home page and click the target item.
- Click the [Test Case Management] option.
- Click the [Scheduled Task] option.
- Click the [Status] switch of the target task.
- The green background color of the switch is the enabled state, and the gray background color of the switch is the disabled state. At the same time, there will be a response prompt during the switching process.
Run the scheduled task immediately
- Go to the home page and click the target item.
- Click the [Test Case Management] option.
- Click the [Scheduled Task] option.
- Click the [Run Now] button of the target task.
- Start running the current task.
Edit scheduled tasks
- Go to the home page and click the target item.
- Click the [Test Case Management] option.
- Click the [Scheduled Task] option.
- Click the [Edit] button of the target task.
- Edit the information you need to change.
- Click the [OK] button.
- The scheduled task is edited!
Delete scheduled tasks
- Go to the home page and click the target item.
- Click the [Test Case Management] option.
- Click the [Scheduled Task] option.
- Click the [Delete] button of the target task.
- Click the [OK] button again.
- The scheduled task has been deleted!