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 - a task has started;
    • QUE - a task is in a queue;
    • Image:p-lt3.png- a task has been successfully completed;
    • Image:p-lt4.png - an error occurred while processing a 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. Please note, that the information in the form 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 - task parameters. The first line is the current task status:
    • RUN - a task has started;
    • QUE - a task is in queue;
    • OK - a task has been successfully completed;
    • ERR - an error occurred while processing a 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