- 20 Jan 2025
- 2 Minutes to read
- DarkLight
- PDF
Delete Finished Tasks wizard
- Updated on 20 Jan 2025
- 2 Minutes to read
- DarkLight
- PDF
Finished server tasks remain in the task list, until you delete them. As you run or schedule (new) tasks, this task list will grow over time as task entries are accumulated to it. It is good practice to clean up the task list and remove completed tasks regularly to maintain clarity and avoid performance issues with the task management.
Use the Delete Finished Tasks wizard to schedule such a task cleanup task.
Available via SERVERS > Delete Finished Tasks.
Before you start the wizard:
- Ensure that you have administrative access to the OneSpan Authentication Server Administration Web Interface.
- Ensure that you have the Delete Task privilege assigned.
Finished Tasks Retention
Use this page to specify the criteria for the finished tasks to delete.
Field name | Description |
---|---|
Retention period in days | The age of the finished tasks to be deleted calculated in days. All finished tasks with an end date (completion) older or equal than this value will be deleted. The age is calculated relative to the time when the cleanup task is executed. If you set the maximum age to 0, all finished tasks will be deleted. |
Click Next.
Schedule Task
Enter details to schedule this task.
Field name | Description |
---|---|
Task mode | Select on which server you wish to run the finished tasks cleanup task. Possible values:
|
Run immediately | Runs the task now. This will lock the Administration Web Interface session. You will not be able to perform other operations until the task has finished. |
Schedule | Runs the task in the background without locking the Administration Web Interface session. You will be able to perform other operations in the Administration Web Interface. It will also allow you to schedule and run the task at a later time. |
Notify me of completion by | Specifies whether and how to send notifications when completing the task. Possible values:
|
Hour | The time for the task to be run in the 24-hour time format. The format should be hh:mm:ss. |
Date | The date for the task to be run. The format should be YYYY-MM-DD. |
Recurrence Type | Specifies whether the task should be run recurrently. Possible values:
|
Click Next to start/schedule the task cleanup task.
Summary
This page summarizes the process. The information differs depending on whether the task was run immediately or scheduled to run in background.
If you run the task immediately and click Next, the page will display a message that the task has been submitted successfully.
If you have scheduled the task, the page will display the schedule details such as start time and notification details. The page will also display a message that the task has been submitted successfully.
Click Finish. You are directed to the Task Management page, where you can verify and manage the delete audit data task you have created.
Additional considerations
- The cleanup task will only delete tasks that have finished successfully. Failed tasks will not be removed from the task list.
- The cleanup task itself creates a task entry in the task list. You can delete that task entry after it has completed or have it automatically removed the next time you run another cleanup task.