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::JOB (3)

.ds Aq ’

NAME

Minion::Command::minion::job - Minion job command

CONTENTS

SYNOPSIS



  Usage: APPLICATION minion job [OPTIONS] [ID]

    ./myapp.pl minion job
    ./myapp.pl minion job -t foo -S inactive
    ./myapp.pl minion job -e foo -a [23, "bar"]
    ./myapp.pl minion job -e foo -p 5 -q important
    ./myapp.pl minion job -s
    ./myapp.pl minion job -w -l 5
    ./myapp.pl minion job 10023
    ./myapp.pl minion job -R -d 10 10023
    ./myapp.pl minion job -r 10023

  Options:
    -A, --attempts <number>   Number of times performing this job will be
                              attempted, defaults to 1
    -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
    -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
    -l, --limit <number>      Number of jobs/workers to show when listing them,
                              defaults to 100
    -m, --mode <name>         Operating mode for your application, defaults to
                              the value of MOJO_MODE/PLACK_ENV or "development"
    -o, --offset <number>     Number of jobs/workers to skip when listing them,
                              defaults to 0
    -p, --priority <number>   Priority of new job, defaults to 0
    -q, --queue <name>        Queue to put job in, defaults to "default"
    -R, --retry               Retry job
    -r, --remove              Remove job
    -S, --state <state>       List only jobs in this state
    -s, --stats               Show queue statistics
    -t, --task <name>         List only jobs for this task
    -w, --workers             List workers instead of jobs



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.

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::JOB (3) 2016-01-13

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