=head1 MODES OF OPERATION

The modes of operation described in this section are mutually
exclusive.  In other words, only one mode may be specified per
invocation.

=over 5

=item B<{-e|--execute}> B<{-f|--file} config[,config[...]]> B<program> B<[options]>

Use B<config> file settings to download and execute the specified
B<program>.  The B<config> file (or comma delimited list of files), as
specified by the B<--file> argument, may be the name of a regular file
or '-', which indicates that configuration information is to be read
from stdin.  If a list of files is supplied, then the value for stdin
may only be specified once.  Also, note that path information in the
target B<program> argument is not allowed.  The B<options>, if any,
are bound to the target B<program> at invocation.  The various
B<config> file controls and syntax rules are described in the
CONFIGURATION CONTROLS section of this document.

This mode of operation is roughly split into three stages: GET,
RUN, and PUT.  Each stage provides an independent timer.  In the event
that a given stage doesn't complete within the alloted time, B<WebJob>
will attempt to abort gracefully.  A timeout value of zero means there
is no time limit.

=item B<{-g|--get-url}> B<[{-f|--file} config[,config[...]]]> B<url>

Optionally use B<config> file settings to download the specified
B<url>.  The B<config> file (or comma delimited list of files), as
specified by the B<--file> argument, may be the name of a regular file
or '-', which indicates that configuration information is to be read
from stdin.  If a list of files is supplied, then the value for stdin
may only be specified once.  The various B<config> file controls and
syntax rules are described in the CONFIGURATION CONTROLS section of
this document.

URLs must use a scheme of http or https and satisfy the following
regular expression:

    scheme://(user(:pass)?@)?host(:port)?(/path(\?query)?)?

=item B<{-h|--hashsum}> B<{-t|--type}> B<digest> B<file>

Use B<digest> algorithm, as specified by the B<--type> argument, to
compute a hash of B<file>.  If B<file> is specified as '-', then input
will be read from stdin.  Currently, the following algorithms are
supported: MD5, SHA1, and SHA256.  The B<digest> value is not case
sensitive.  In other words, 'md5' is equivalent to 'MD5'.

=item B<{-r|--run-embedded} {lua|perl} [...]>

Use the embedded Lua or Perl interpreter to execute or process the
B<lua> or B<perl> arguments, which can be combined in any way to form
valid command line expression.  This mode of operation is only
available if embedded Lua or Perl support is compiled into the binary.
Note that only one embedded language can be compiled into a given
B<WebJob> binary.

=item B<{-v|--version}>

Display version information and exit.

=back

