BackPrevious Page Next PageNext

Example 2: Publishing a Report to Disk

In this example, you will learn how to set up a task to publish the report result in various file formats to the file system repeatedly at the start of each month. It is not available to organization users.

  1. On the JReport Console > Resources page, select the report row, right-click in the row and select Schedule from the shortcut menu to display the Schedule dialog.
  2. In the General tab, specify the general report settings.
  3. In the Parameter tab, specify the parameter values as required if the report has parameters.
  4. In the Publish tab, click the To Disk sub tab, check Publish to Disk, then select the required formats, specify the result locations, and set the format settings according to your requirements. You can apply dynamic names for the result if necessary.

    Schedule dialog - Publish to Disk

  5. In the Conditions tab,
    1. In the Time sub tab, define the time zone from the Time Zone drop-down list, then from the Time Type drop-down list, choose Run this task periodically.

      Schedule dialog - Time subtab

    2. In the Duration box, specify a time period for when the task will be performed.
    3. Select Monthly from the Date drop-down list and keep the default to run the first day of every 1 month.
    4. Keep the Time settings as default.
  6. If you want to notify someone of when the task is finished by sending an e-mail, go to the Notification tab and set the settings.
  7. Click Finish to have the task performed.

Then, click My Tasks on the system toolbar, you will see that the scheduled task has been recorded in the Scheduled table. Since you have not specified the duration Run until a time for this task, it will not stop being performed until you delete or disable it from the Scheduled table.

Notes:

BackPrevious Page Next PageNext