Beam::Minion::Command::job - Command to manage minion jobs
version 0.012
beam minion job [-R] [-f] [--remove] [-S <state>] [-q <queue>] [-t <task>] [-w] [-l <limit>] [-o <offset>] [<id>]
This command manages the minion queue, lists jobs, lists workers, and allows re-running failed jobs.
The ID of a job or worker (with the -w option) to display.
-w
-R
--retry
Retry the given job by putting it back in the queue. See -f to retry the job in the current process.
-f
--foreground
Retry the given jobs right away in the current process (useful for debugging). See -R to retry the job in the queue.
--remove
Remove the given job(s) from the database.
-S <state>
--state <state>
Only show jobs with the given state. The state can be one of: inactive, active, finished, or failed.
state
inactive
active
finished
failed
-q <queue>
--queue <queue>
Only show jobs in the given queue. Defaults to showing jobs in all queues. The default queue for new jobs is default.
queue
default
-t <task>
--task <task>
Only show jobs matching the given task. Beam::Minion task names are <container>:<service>.
task
<container>:<service>
--workers
List workers instead of jobs.
-l <limit>
--limit <limit>
Limit the list to limit entries. Defaults to 100.
limit
-o <offset>
--offset <offset>
Skip offset jobs when listing. Defaults to 0.
offset
This variable defines the shared database to coordinate the Minion workers. This database is used to queue the job. This must be the same for all workers and every job running.
See "Getting Started" in Beam::Minion for how to set this variable.
Beam::Minion, Minion
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2017 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Beam::Minion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Beam::Minion
CPAN shell
perl -MCPAN -e shell install Beam::Minion
For more information on module installation, please visit the detailed CPAN module installation guide.