Queue

Add

Add job to queue
Usage:
1
dotnet occli.dll queue add --project [project] --job [job]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--project
-p
Name of the project
Yes
--job
-j
Name of the job definition
Yes

Get

Get a single job queue detailed record
Usage:
1
dotnet occli.dll queue get --project [project] --number [number]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--project
-p
Name of the project
Yes
--number
-n
Identifier of the queue (Id or Code)
Yes

List

List queued jobs
Usage:
1
dotnet occli.dll queue list --project [project]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--project
-p
Name of the project
Yes
--status
-s
Filter the queued jobs by their status
all, current, succeeded, failed
all
No

Log

Get complete log of a queued job
Usage:
1
dotnet occli.dll queue log --project [project] --number [number]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--project
-p
Name of the project
Yes
--number
-n
Identifier of the queue (Id or Code)
Yes

Restart

Restart the pending queue
Usage:
1
dotnet occli.dll queue restart --project [project] --number [number]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--project
-p
Name of the project
Yes
--number
-n
Identifier of the queue (Id or Code)
Yes

Cancel

Cancel the Processing or Pending queue. This is helpful if the job got force-cancelled in the engine, making the job stuck in Processing status. It also can be used to cancel a pending queue if you don't want to continue to process the job.
Usage:
1
dotnet occli.dll queue cancel --project [project] --number [number] --reason [reason]
Copied!
Option
Alias
Description
Allowed Values
DefaultValue
Mandatory
--project
-p
Name of the project
Yes
--number
-n
Identifier of the queue (Id or Code)
Yes
--reason
-r
Cancellation reason
No
Last modified 3yr ago