NAME
monotifier - extension for the monm notifications
SYNOPSIS
monotifier [options] [commands [args]]
monotifier -u username -s "Subject" < /path/to/message/file.txt
monotifier show
monotifier show <ID>
monotifier remove <ID>
monotifier clean
monotifier truncate
OPTIONS
- -c CONFIG_FILE, --config=CONFIG_FILE
-
Full path of the monm configuration file. The configuration file allows determine the basic default settings, which will use the system if it fails to specify additional configuration files in $CONFDIR directory. The default system path /etc/monm/monm.conf
- -D DATADIR, --datadir=DATADIR, --dir=DATADIR
-
The directory of temporary files.
Default: system temp directory
- -d, --debug
-
Enable debug mode. In this mode, debug messages are displayed on the screen
- -h, --help
-
Show short help information and quit
- -H, --longhelp
-
Show long help information and quit
- -l, --log
-
Enabling write debug information to syslog or user log file.
Do not confuse the debug logging from regular logging to a file monm.log. Regular logging allows you to store information in monm.log on the progress of the processes module, whereas debug logging for debugging of the internal components of the module.
To control the level of debugging see parameter LogEnable and LogLevel.
- -s SUBJECT, --subject=SUBJECT, --subj=SUBJECT
-
Sets the subject of message
Default: System subject
- -t, --testmode
-
Enabling test mode. This key allows force sending notification while checking
- -u USERNAME, --user=USERNAME, --to=USERNAME
-
Recipient username
Default: all users
- -v, --verbose
-
Enabling at which displays information about the progress on the screen
- -V, --version
-
Print the version number of the program and quit
COMMANDS
- clean
-
monotifier clean
Remove incorrect messages
- create
-
monotifier create -u username -s "Subject" < /path/to/message/file.txt monotifier -u username -s "Subject" < /path/to/message/file.txt
Create the message. This command name is optional and use by default!
- remove
-
monotifier remove <ID>
Remove the message by ID
- show
-
monotifier show monotifier show <ID>
Show data table or selected record by id
- truncate
-
monotifier truncate
Remove all messages
DESCRIPTION
This is an extension for the monm notifications over different communication channels
AUTHOR
Serz Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.