### Scheduling reports with dialog

You can schedule tasks for a specified report with dialog as follows:

1. Do either of the following to open the Schedule dialog.
   - On the JReport Console > Resources page, browse to the report you want to schedule to run, then:
     - Select the report row, then on the task bar of the Resources page, click Run > Schedule.
     - Select the report row, right-click in the row and select Schedule from the shortcut menu.
     - Put the mouse pointer over the report row and click the Schedule button on the floating toolbar.
   - On the JReport Console page, click My Tasks on the system toolbar, then select the Scheduled tab. Click New Schedule on the task bar of the My Tasks page, then in the New Schedule dialog, check the Select Report to Create Schedule radio button, specify the folder and then the catalog in which the report you want to schedule to run is saved, then select the report and click OK.
2. In the General tab, specify the name for the task in the Schedule Name text box. For a page report, you need to select the report tabs you want to run from the page report. You can choose multiple normal report tabs or one bursting report at a time (for scheduling a bursting report, see Scheduling a task containing a bursting report). When multiple normal report tabs are selected, check Export to One File if you want to export them to just one result file. If there are multiple dynamic connections available, expand the Select Dynamic Connection section and select a connection from the drop-down list. Click Connection Properties to view the connection information if needed. Then, specify the other options as required.
3. In the Parameter tab, specify the parameter values if the report has parameters.
4. In the Publish tab, specify the type of the task.

   Six task types are provided by JReport Server: To Version, To Disk, To E-mail, To Printer, To Fax and To FTP. Choose the type you want to publish, and then set the settings for the specified type.

5. In the Conditions tab, specify the time for when the task is to be performed in the Time sub tab, and select or create a trigger to bind with the task in the Trigger sub tab.
6. In the Notification tab, specify to notify someone via e-mail of when the task is finished and whether it is successful or unsuccessful.
7. In the Duration tab, specify a time duration for the task, and ask JReport Server to cancel the task or to notify you or someone else of the task status via e-mail if the task has not yet finished running when the task duration is up. For detailed information, see Task-level timeout for advanced run and schedule tasks.
8. Click Finish, and JReport Server will then perform the task.

Notes:

- By default, the Duration tab is not displayed in the Schedule dialog. To make it available, the Enable Task Duration option on the JReport Administration page > Configuration > Advanced panel must be checked.
- When scheduling to publish a page report to the versioning system or to disk, the Page Report Result and JReport Result formats are based on the report level, that is, the report with all selected report tabs will be output to a single file. As for the other formats, each selected report tab will be output to a separate file.

The following are some specific scheduling examples:

- Example 1: Publishing a report to the versioning system
- Example 2: Publishing a report to disk
- Example 3: Publishing a report to e-mail
- Example 4: Publishing a report to printer
- Example 5: Publishing a report to fax
- Example 6: Publishing a report to an FTP site