08 Mar 2019 03:07:02 UTC
- Distribution: Beam-Minion
- Module version: 0.016
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (303 / 0 / 8)
- KwaliteeBus factor: 1
- 93.72% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity24 month
- Download (26.82KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SEE ALSO
- COPYRIGHT AND LICENSE
Beam::Minion::Command::run - Command to enqueue a job on Beam::Minion job queue
beam minion run [-d <delay>] [-a <attempts>] [-p <priority] <container> <service> [<args>...]
This command adds a job to the Minion queue to execute the given
servicefrom the given
In order for the job to run, you must run a Minion worker using the beam minion worker command.
The container that contains the task to run. This can be an absolute path to a container file, a relative path from the current directory, or a relative path from one of the directories in the
BEAM_PATHenvironment variable (separated by
The service that defines the task to run. Must be an object that consumes the Beam::Runner role.
The amount of time, in seconds, to delay the start of the job (from now). Defaults to
The number of times to automatically retry the job if it fails. Subsequent attempts will be delayed by an increasing amount of time (calculated by
(retries ** 4) + 15).
The job's priority. Higher priority jobs will be run first. Defaults to
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.
This variable is a colon-separated list of directories to search for containers.
Doug Bell <firstname.lastname@example.org>
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.