NAME
Minion::Command::minion::job - Minion job command
SYNOPSIS
Usage: APPLICATION minion job [ID]
./myapp.pl minion job
./myapp.pl minion job -s
./myapp.pl minion job 533b4e2b5867b4c72b0a0000
./myapp.pl minion job 533b4e2b5867b4c72b0a0000 -r
Options:
-r, --remove Remove job.
-R, --restart Restart job.
-s, --stats Show queue statistics.
DESCRIPTION
Minion::Command::minion::job manages Minion jobs.
ATTRIBUTES
Minion::Command::minion::job inherits all attributes from Mojolicious::Command and implements the following new ones.
description
my $description = $job->description;
$job = $job->description('Foo!');
Short description of this command, used for the command list.
usage
my $usage = $job->usage;
$job = $job->usage('Foo!');
Usage information for this command, used for the help screen.
METHODS
Minion::Command::minion::job inherits all methods from Mojolicious::Command and implements the following new ones.
run
$job->run(@ARGV);
Run this command.