Kiq v0.6.0 mix kiq.gen.worker View Source
Generates a new worker.
The module will be nested within the lib
directory.
Examples
mix kiq.gen.worker MyApp.Workers.Business mix kiq.gen.worker MyApp.Workers.Essential -q critical mix kiq.gen.worker MyApp.Workers.Unimportant -r 3 mix kiq.gen.worker MyApp.Workers.Lifeless —no-dead
Command Line Options
-d
,--dead
,--no-dead
— whether the job will be pushed to the dead set when retries are exhausted-q
,--queue
— the queue this worker’s jobs will run in-r
,--retry
— the number of times jobs will be retried