2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 07:12:17 +08:00

[ci skip] Update documentations for enq command

This commit is contained in:
Ken Hibino 2019-12-09 06:58:34 -08:00
parent 764edc35e3
commit b766de4f18

View File

@ -15,8 +15,10 @@ var enqCmd = &cobra.Command{
Short: "Enqueues a task given an identifier", Short: "Enqueues a task given an identifier",
Long: `The enq command enqueues a task given an identifier. Long: `The enq command enqueues a task given an identifier.
The target task should be in either scheduled, retry or dead queue. The command takes one argument which specifies the task to enqueue.
The task should be in either scheduled, retry or dead queue.
Identifier for a task should be obtained by running "asynqmon ls" command. Identifier for a task should be obtained by running "asynqmon ls" command.
The task enqueued by this command will be processed as soon as the task The task enqueued by this command will be processed as soon as the task
gets dequeued by a processor. gets dequeued by a processor.