About removing background tasks

The procedure to remove a background task from the Active Background Tasks form differs according to the current status of the task:

  • WAITING tasks are background tasks that are scheduled to run at some future time.

    Tasks can be scheduled by authorized users. When the Enabled option is selected, these tasks are then placed in a WAITING status until their scheduled time to run.

    WAITING tasks can be disabled or deleted. Clearing the Enabled check box, disables it but leaves it available to be run again if enabled. Deleting it leaves the definition on the Background Task Definitions form, but prevents it from running automatically.

    When the Background Queue form is used to schedule a task, it creates a record on the Active Background Tasks form with a status of WAITING, and the appropriate task name and parameters.

  • PROCESS tasks are background tasks that have been scheduled to run and the next scheduled start time has elapsed. At the scheduled start time, one related 'child' task was spawned in the READY state.

    These tasks cannot be deleted, as such. To delete one of these tasks, you must first cancel its 'child' task to return it to a status of WAITING. You can then disable or delete the task.

  • RUNNING tasks are background tasks that are currently in the process of executing.

    You can cancel a RUNNING task by clicking Request Cancellation.

    If you cancel a scheduled task that is RUNNING and want to prevent it from running again (in other words, to prevent the 'parent' scheduled task from running again), you must first wait for the 'parent' task to be returned to a WAITING status. You can then disable or delete the 'parent' task.

  • READY tasks are background tasks that are to be executed as soon as TaskMan has the capacity available to carry out the execution.

    As with RUNNING tasks, to cancel a READY task, click the Request Cancellation button.

    If you cancel a scheduled READY task and want to prevent it from running (in other words, to prevent the 'parent' scheduled task from executing it), you must first verify that the 'parent' task is in a WAITING status. You can then disable or delete the 'parent' task.

  • CANCEL indicates that a cancellation request has been made and that the system is carrying out the cancellation process. These tasks cannot be deleted, because they disappear as soon as the cancellation process is complete.
    Note: Cancellation requests can be made only for READY or RUNNING tasks. You might need to refresh the form to verify that the cancellation has been completed.