Minion::Command::minion::worker - Minion worker command
Usage: APPLICATION minion worker ./myapp.pl minion worker -m production
Minion::Command::minion::worker starts a Minion worker. You can have as many workers as you like, but on every host they should all be owned by the same user, so they can check which workers are still alive with signals.
The Minion::Command::minion::worker process can be controlled at runtime with the following signals.
Stop gracefully after finishing the current job.
Minion::Command::minion::worker inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $worker->description; $worker = $worker->description('Foo!');
Short description of this command, used for the command list.
my $usage = $worker->usage; $worker = $worker->usage('Foo!');
Usage information for this command, used for the help screen.
Minion::Command::minion::worker inherits all methods from Mojolicious::Command and implements the following new ones.
$worker->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.