Page MenuHomePhorge

README
No OneTemporary

Authored By
Unknown
Size
822 B
Referenced Files
None
Subscribers
None
This directory contains two simple examples of UNIX notification daemons
written in Perl. Both daemons require installing the
Net::Server::Prefork module, located in this directory.
The Perl script 'simple_notify.pl' simply logs mail notifications--it
shows the simplest possible handler.
The Perl script 'mysql_notify.pl' also logs the notification, but in
addition it looks up the username in a DB table in order to get additional
information about the user. This could be used, for example, to get a
user's instant messaging address from a database in order to send a
notification message. 'mysql_notify.pl' requires a file /etc/notify
that contains three lines: the DSN, username, and password to connect
to the database.
The shell script 'notify' is a sample init.d script for
starting/stopping the perl daemon.

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 24, 1:44 PM (4 d, 21 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/1d/17b4392c0cebd1ceb106fc07f320
Default Alt Text
README (822 B)

Event Timeline