Deleting Background Tasks
The procedure to delete a background task differs according to whether the task has a status of WAITING or a status of RUNNING.
- WAITING tasks are background tasks that are scheduled to run at
some future time.
When the Background Queue form is used to create a job, it creates a record on the Active Background Tasks form with status WAITING and the appropriate task name and parameters. It then creates a SQL Server job for the task.
WAITING tasks are deleted using the Active Background Tasks form. When you delete a WAITING task, both the record and the corresponding SQL Server job are deleted.
- RUNNING tasks are background tasks that are currently in the process
of executing.
RUNNING tasks are deleted by locating the task's process ID using the Background Task History form and then using the Windows Task Manager to end the process.