Minion::Command::minion::job - Minion job command
Usage: APPLICATION minion job [OPTIONS] [ID] ./myapp.pl minion job ./myapp.pl minion job -t foo -S inactive ./myapp.pl minion job -e foo -a '[23, "bar"]' ./myapp.pl minion job -e foo -p 5 ./myapp.pl minion job -s ./myapp.pl minion job -w -l 5 ./myapp.pl minion job 10023 ./myapp.pl minion job -R 10023 ./myapp.pl minion job -r 10023 Options: -a, --args <JSON array> Arguments for new job in JSON format -d, --delay <seconds> Delay new job for this many seconds -e, --enqueue <name> New job to be enqueued -l, --limit <number> Number of jobs/workers to show when listing them, defaults to 100 -o, --offset <number> Number of jobs/workers to skip when listing them, defaults to 0 -p, --priority <number> Priority of new job, defaults to 0 -R, --retry Retry job -r, --remove Remove job -S, --state <state> List only jobs in this state -s, --stats Show queue statistics -t, --task <name> List only jobs for this task -w, --workers List workers instead of jobs
Minion::Command::minion::job manages Minion jobs.
Minion::Command::minion::job inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $job->description; $job = $job->description('Foo');
Short description of this command, used for the command list.
my $usage = $job->usage; $job = $job->usage('Foo');
Usage information for this command, used for the help screen.
Minion::Command::minion::job inherits all methods from Mojolicious::Command and implements the following new ones.
$job->run(@ARGV);
Run this command.
Minion, Mojolicious::Guides, http://mojolicio.us.
To install Minion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Minion
CPAN shell
perl -MCPAN -e shell install Minion
For more information on module installation, please visit the detailed CPAN module installation guide.