email_notify.pl - Script to send email notifications of non-activity to users


SYNOPSIS

        ./util/email_notify.pl        # normal production execution
        ./util/email_notify.pl DEVEL  # run in development enviornment


DESCRIPTION

This script sends an email notification to all active users who have not added time or note data for the most recent day and have the ``email_notify'' authorization from the ``authz_employee'' database table.

This script gets executed on a cron similar to this:

        0 23 * * 1,2,3,4,5 /var/www/wtf/util/email_notify.pl

Running this script in DEVEL mode will cause it to use the development database and send all the emails to the administrator.


DEPENDENCIES

email_notify.pl depends on the following modules:


COPYRIGHT, LICENSE, AND DISCLAIMER OF WARRANTY

Use of this module implies the reading and agreement with the license under which this software is release. That license can be found in the ``license.txt'' file included with this distribution.