Scheduled Report Emailing

Top  Previous  Next

It's often necessary to send reports by e-mail. For example, company executives might want to receive IT equipment failure statistics every month. The AggreGate administrator may send the report by e-mail manually, but it would be much more effective to schedule periodic report emailing for automatic execution using AggreGate Server job scheduler. This tutorial explains how to create a scheduled task that performs report emailing.

note_tip-wt

To send report manually, execute Send Report by E-mail action of Report context.

1. Adding a Scheduled Job

To create a new scheduled task, find your report node in System Tree (st_report). Drag and drop it on the Scheduled Jobs node (st_jobs):

ht_scheduler_1

Select Send Report by E-mail from the list of actions that may be scheduled:

ht_scheduler_2

Click OK. Now define the properties for the new scheduler job. Enter the job name and description (for example, disk_summary_mailer and Disk Summary Emailing):

ht_scheduler_3

Click in Parameters line, and then click in Send Report by E-mail line to open report emailing parameters. Enter e-mail recipients and select report format:

ht_scheduler_4

Click OK to create new scheduled job. It's properties will open in a new dockable window.

2. Defining The Schedule

It's time to add job triggers that will start it at certain time. In the job properties window, open Advanced Schedule tab (var_advanced_schedule). Click on Add Row button (dte_add_row) to add new trigger:

ht_scheduler_5

Let's configure the job to run every Monday at 10:00 AM. To do that, we need to switch the trigger from working on certain days of month to certain days of week. First, click in Day of Month field. Day-by-day monthly schedule will open in a new window. Select Never for the first day, right-click in the same cell and select Fill Column With Cell Value from context menu:

ht_scheduler_6

Click OK to close the dialog. Now click in Day Of Week field. In the newly opened dialog, change Option for Monday to Always:

ht_scheduler_7

Click OK to apply changes. The last action is changing Time parameter of job trigger to 10:00:00:

ht_scheduler_8

When done, click on Save Properties (pe_save). Your scheduled job is ready now and you may expect the report to be sent next Monday.