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 service from the given container.
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_PATH environment 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 0.
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).
(retries ** 4) + 15
The job's priority. Higher priority jobs will be run first. Defaults to 0.
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 <email@example.com>
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.
To install Beam::Minion, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.