The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

xas-spooler - monitor spool directories

SYNOPSIS

xas-spooler [--help] [--debug] [--manual] [--version]

 options:
    --host         the host to attach too
    --port         the port to send too
    --log-file     the log file to use
    --log-type     the type of log file
    --log-facility the facility class of the log
    --pid-file     the pid file to use
    --cfg-file     the configuration file to use
    --install      install as a service on Windows
    --deinstall    deinstall as a service on Windows
    --help         prints out a helpful help message
    --manual       prints out the procedures manual
    --version      prints out the procedures version
    --debug        toggles debug output
    --daemon       wither to become a daemon
    --alerts       toggles alert notification

DESCRIPTION

This procedure is a spool file processor. It scans directories and places items into queues on a message queue server. This is configuration file driven.

CONFIGURATION

Please refer to XAS::Apps::Spooler::Process for configuration file information.

OPTIONS AND ARGUMENTS

--host

The host to attach too. Defaults to XAS_MQSERVER.

--port

The port to send too. Defaults to XAS_MQPORT.

--log-type

Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.

--log-facility

Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.

--log-file

The log file to use.

--pid-file

The pid file to use.

--cfg-file

The configuration file to use.

--install

On Windows this will install the procedure as a service.

--deinstall

On Windows this will deinstall the procedure as a service.

--help

Displays a simple help message.

--debug

Turns on debbuging.

--alerts

Togggles alert notification.

--manual

The complete documentation.

--version

Prints out the apps version.

--daemon

Wither to become a daemon.

EXIT CODES

 0 - success
 1 - failure
 2 - already running
 

SEE ALSO

XAS::Apps::Spooler::Process
XAS::Spooler
XAS

AUTHOR

Kevin L. Esteb, <kesteb@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 by Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.