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
--logfile the log file to use
--log-type the type of log file
--log-facility the facility class of the log
--pidfile the pid file to use
--cfgfile 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.
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.
- --logfile
-
The log file to use.
- --pidfile
-
The pid file to use.
- --cfgfile
-
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
AUTHOR
Kevin L. Esteb, <kesteb@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2014 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.