Background tasks

From ISPWiki

Jump to: navigation, search

A background task is a task performed in the system for a long period of time. In the "Background tasks" module you can view the list of the background tasks and monitor their statuses. You can also view their parameters and terminate them.

More information can be found in the article LongTask.

Module «Background tasks»
Image:T-bullet.gif View a list of tasks
Image:T-edit.png View task parameters
Image:T-delete.png Terminate task


View a list of tasks

  • Script name - name of the script or program file.
  • PID-file - a file containing the process identification number (PID) that is stored in the file system thus allowing other programs to find out the pid of a running script.
  • Queue name - name of the queue where you task is specified.
  • Number in the queue - task number in the queue.
  • Status - current task status:
    • Image:p-lt1.png - the task has started;
    • QUE - the task is in the queue;
    • Image:p-lt3.png- the task has been successfully completed;
    • Image:p-lt4.png - an error occurred while processing the task.

View task parameters

If you wish to view parameters of an existing background task, locate the one you need and click the "Edit" icon. The information is read-only.

Module «Background tasks»
  • Script name - name of the script or program file.
  • PID-file - a file containing the process identification number (PID) that is stored in the file system thus allowing other programs to find out the pid of a running script.
  • Queue name - name of the queue where you task is specified.
  • Number in the queue - task number in the queue.
  • Additional information - any information related to this task, for example description of the error that occurred while executing this task.

Terminate task

If you wish to terminate a background task, select it from the list and click the "Delete" icon. If the background task is running, it will be terminated by the Kill command.

Was this helpful? Yes | No
Personal tools