labtasker queue
¶
Abstract
This page details the queue related operations.
Queues are the basic unit of task scheduling, worker management and authentication.
Create queue¶
Before submitting a task, you need to create a queue for your tasks (this is analogous to registering an user account).
It is recommended to use the create-from-config
command to create a queue
(after the config is properly setup via labtasker config
).
or, you can create a queue different from the one specified in the config via create
. See:
Delete queue¶
It deletes the queue specified in the current configuration, note that with --cascade
option,
all associated tasks and workers will be deleted.
Update queue¶
You may change the queue name, password and metadata via update
command.
If you do not want to specify password in the command, just run
and an interactive prompt will be shown.
For more details, please run
Get queue info¶
To get current queue info, run
If you are trying to use a bash script, you can use the --quiet
option to get the queue id only.