Minion::Command::minion::job - Minion job command
Usage: APPLICATION minion job [ID] ./myapp.pl minion job ./myapp.pl minion job -t test -T 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 533b4e2b5867b4c72b0a0000 ./myapp.pl minion job 533b4e2b5867b4c72b0a0000 -r 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. -p, --priority <number> Priority of new job, defaults to 0. -r, --remove Remove job. -R, --retry Retry job. -s, --stats Show queue statistics. -S, --skip <number> Number of jobs/workers to skip when listing them, defaults to 0. -t, --task <name> List only jobs for this task. -T, --state <state> List only jobs in this state. -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.