GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MINION::COMMAND::MINION::WORKER (3)

.ds Aq ’

NAME

Minion::Command::minion::worker - Minion worker command

CONTENTS

SYNOPSIS



  Usage: APPLICATION minion worker [OPTIONS]

    ./myapp.pl minion worker
    ./myapp.pl minion worker -m production -I 15 -R 3600 -j 10
    ./myapp.pl minion worker -q important -q default

  Options:
    -h, --help                           Show this summary of available options
        --home <path>                    Path to home directory of your
                                         application, defaults to the value of
                                         MOJO_HOME or auto-detection
    -I, --heartbeat-interval <seconds>   Heartbeat interval, defaults to 60
    -j, --jobs <number>                  Number of jobs to perform
                                         concurrently, defaults to 4
    -m, --mode <name>                    Operating mode for your application,
                                         defaults to the value of
                                         MOJO_MODE/PLACK_ENV or "development"
    -q, --queue <name>                   One or more queues to get jobs from,
                                         defaults to "default"
    -R, --repair-interval <seconds>      Repair interval, defaults to 21600
                                         (6 hours)



DESCRIPTION

Minion::Command::minion::worker starts a Minion worker. You can have as many workers as you like.

SIGNALS

The Minion::Command::minion::worker process can be controlled at runtime with the following signals.

    INT, TERM

Stop gracefully after finishing the current jobs.

    QUIT

Stop immediately without finishing the current jobs.

ATTRIBUTES

Minion::Command::minion::worker inherits all attributes from Mojolicious::Command and implements the following new ones.

    description



  my $description = $worker->description;
  $worker         = $worker->description(Foo);



Short description of this command, used for the command list.

    usage



  my $usage = $worker->usage;
  $worker   = $worker->usage(Foo);



Usage information for this command, used for the help screen.

METHODS

Minion::Command::minion::worker inherits all methods from Mojolicious::Command and implements the following new ones.

    run



  $worker->run(@ARGV);



Run this command.

SEE ALSO

Minion, Mojolicious::Guides, <http://mojolicious.org>.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MINION::COMMAND::MINION::WORKER (3) 2016-02-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.