EMail sending of Issue Summary

It is possible to use a cron task to send an email containing a summary report upon raised issues. Usually these reports are used for management purposes to determine how the system is performing.

The script accepts two optional parameters, which are the start date (sdate) and the end date (edate) for the report. The way in which the parameters are specified will depend upon whether the task is run from the front end or from the PHP CLI script.

If run from the PHP command line the parameters are specified as follows:

--sdate 'YYYY-MM-DD' --edate 'YYYY-MM-DD'

Where YYYY is the required year, MM the required two digit date and DD the two digit day of the month. The default start date is a month prior to the date upon which the script is run, and the default end date is the current date.

If run from the front end then append the parameters to the end of the URL as shown below. Note that the defaults are as specified above.

&sdate='YYYY-MM-DD'&edate='YYYY-MM-DD'