Scheduling report sets with dialog

You can schedule tasks for a specified report set with dialog as follows:
  1. On the JReport Console > Reports page, browse to the report set you want to schedule to run.
  2. Do either of the following:

    The Schedule dialog is then displayed.

  3. In the General tab, select the reports you want to run from the report set. You can choose multiple normal reports or one bursting report at a time (for scheduling a bursting report, see Scheduling a task containing a bursting report). If the selected reports have parameters, specify the parameter values as required (for details, see General tab - Parameters). Then, specify the other options as required.
  4. In the Publish tab, specify the type of the task.

    Six task types are provided by JReport Enterprise Server: publishing to version, publishing to disk, publishing to e-mail, publishing to printer, publishing to fax and publishing to FTP. Choose the type you want to publish, and then set the settings for the specified type.

    In order to meet the requested requirement to run tasks defined outside of JReport on JReport Enterprise Server, and to just use JReport Enterprise Server's schedule function, JReport has provided a task named User Task. With this task, you can implement a customized task with the schedule properties. You can also submit the user task from a web page, or by calling the JReport Server API methods.

    Notes:

    • You can either schedule to use the Default Task or the User Task at one time. If you specify to schedule a report set as a default task, you will not be able to schedule it as a user task, and vice versa.
    • When you schedule to publish a report set to HTML format, the names of page navigation links in reports in the report set, such as First, Previous, Next, and Last, can be localized according to your requirements. For details, refer to Localizing the page navigation links in HTML report outputs.
  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 was successful or unsuccessful.
  7. In the Duration tab, specify a time duration for the task, and ask JReport Enterprise 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.

    Note: By default, the Duration tab is not displayed in the Schedule dialog. To make it available, the Enable Task Duration option in the Advanced tab of the JReport Administration > Configuration page must be checked.

  8. Click Finish, and JReport Enterprise Server will then perform the task.

See also Schedule dialog for details about the task types and settings in each tab.

The following are some specific scheduling examples: