job listQueue

Available for: Content Management Server, Template Engine

Task: Returns the list of all jobs in the specified category that have been queued for execution, sorted in ascending order by the queuePos parameter.

Syntax:

job listQueue [category]

Function parameters:

  • category specifies the name of a job category (user or system). Default: user.

Return value if successful: The list of the names of the jobs in the queue (stringlist).

Necessary permissions (CM only): none.

Example:

CM>job listQueue system
systemSwitch systemTransferUpdates