Kevin::Command::kevin::jobs - Command to list Minion jobs
version 0.4.1
Usage: APPLICATION kevin jobs [OPTIONS] ./myapp.pl kevin jobs ./myapp.pl kevin jobs -l 10 -o 20 ./myapp.pl kevin jobs -q important -t foo -S inactive Options: -h, --help Show this summary of available options -l, --limit <number> Number of jobs to show when listing them, defaults to 100 -o, --offset <number> Number of jobs to skip when listing them, defaults to 0 -q, --queue <name> List only jobs in this queue -S, --state <name> List only jobs in this state -t, --task <name> List only jobs for this task
Kevin::Command::kevin::jobs lists jobs at a Minion queue. It produces output as below.
ID PRI TASK STATE QUEUE CREATED STATUS WORKER 925851 0 resize finished image-resizer 7 minutes ago Finished 7 minutes ago 27297 925838 1000 search failed item-searcher 13 minutes ago Failed 13 minutes ago 27191 925835 1000 upload finished uploader 13 minutes ago Finished 13 minutes ago 27185 925832 1000 search finished item-searcher 13 minutes ago Finished 13 minutes ago 27188 925831 100 poke failed poker 13 minutes ago Failed 13 minutes ago 26819 925830 100 poke failed poker 31 hours ago Failed 31 hours ago 26847
Kevin::Command::kevin::jobs inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $command->description; $command = $command->description('Foo');
Short description of this command, used for the command list.
my $usage = $command->usage; $command = $command->usage('Foo');
Usage information for this command, used for the help screen.
Kevin::Command::kevin::jobs inherits all methods from Mojolicious::Command and implements the following new ones.
$command->run(@ARGV);
Run this command.
Minion, Minion::Command::minion::job.
Adriano Ferreira <ferreira@cpan.org>
This software is copyright (c) 2017 by Adriano Ferreira.
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 Kevin::Command::kevin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kevin::Command::kevin
CPAN shell
perl -MCPAN -e shell install Kevin::Command::kevin
For more information on module installation, please visit the detailed CPAN module installation guide.