Automatic report generation

You can use the Windows Task Scheduler to generate reports on a set schedule:

To open Task Scheduler:

In Windows Server 2008, click Start > Administrative Tools > Task Scheduler.

In Windows 7, click Start > All Programs > Accessories > System Tools > Task Scheduler.

Click Task Scheduler in the left pane of the dialog, then click Create Basic Task in the Actions pane on the right to open the Create Basic Task Wizard.

Enter a name for this new task on the Create a Basic Task page. Use the Description field to describe the task. Click Next.

On the Task Trigger page specify how often this task should be performed and click Next.

Set the start time and other relevant data for your schedule. Click Next.

Select Start a program on the Action page and click Next.

On the Start a Program page, click Browse and navigate to ...\Program Files\\\system\bin and select repgen.exe and click Open. (On a 64-bit Windows Operating System the path is ...\Program Files (x86)\...) Then click Next on the Create Basic Task Wizard.

Select Open the Properties dialog for this task when I click Finish on the Summary page, then click Finish.

The Properties dialog for your task opens.

Select Run only when user is logged on under Security options on the General tab.

Click the Actions tab. Click the start a program entry for the scheduled task under the Action column and then click Edit to open the Edit Action dialog. Enter -rReportName in the Add arguments field (where ReportName is the name of the report you want to run. Click OK.

For example, for a report name of Rep1 enter -rRep1 in the field.

Note that spaces are not supported in report names scheduled for automatic generation.

also supports multiple report generation. Separate the report names with a comma. For example, for reports Rep1 and Rep2, the entry in the Add arguments field is -rRep1, Rep2.

Click the Triggers tab to verify your task schedule settings. To update the schedules, click a specific entry under the Trigger column and select Edit. Modify the settings in the Edit Trigger dialog and click OK to save your changes.

Click OK to close the Properties dialog.

Note

Check the properties of your report to verify that you have specified a valid Date Range for your report and that the Show Report on screen option is cleared.