-
-
08 Mar 2019 03:07:02 UTC
- Distribution: Beam-Minion
- Module version: 0.016
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (303 / 0 / 8)
- Kwalitee
Bus factor: 1- 93.72% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (26.82KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- ARGUMENTS
- OPTIONS
- ENVIRONMENT
- SEE ALSO
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
Beam::Minion::Command::job - Command to manage minion jobs
VERSION
version 0.016
SYNOPSIS
beam minion job [-R] [-f] [--remove] [-S <state>] [-q <queue>] [-t <task>] [-w] [-l <limit>] [-o <offset>] [<id>]
DESCRIPTION
This command manages the minion queue, lists jobs, lists workers, and allows re-running failed jobs.
ARGUMENTS
<id>
The ID of a job or worker (with the
-w
option) to display.OPTIONS
-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
, orfailed
.-q <queue>
--queue <queue>
Only show jobs in the given
queue
. Defaults to showing jobs in all queues. The default queue for new jobs isdefault
.-t <task>
--task <task>
Only show jobs matching the given
task
. Beam::Minion task names are<container>:<service>
.-w
--workers
List workers instead of jobs.
-l <limit>
--limit <limit>
Limit the list to
limit
entries. Defaults to 100.-o <offset>
--offset <offset>
Skip
offset
jobs when listing. Defaults to 0.ENVIRONMENT
BEAM_MINION
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.
SEE ALSO
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 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.
Module Install Instructions
To install Beam::Minion, copy and paste the appropriate command in to your terminal.
cpanm Beam::Minion
perl -MCPAN -e shell install Beam::Minion
For more information on module installation, please visit the detailed CPAN module installation guide.