Scheduling Reports and Dashboard Exports

Using the JasperReports Server scheduler, you can run reports and take snapshots of dashboards repeatedly and unattended during off hours or at other times. The reports and dashboards are saved in a file format of your choice to the repository, the host machine, or an FTP server. Scheduling these jobs to run in the background or during off hours can reduce the performance impact on the server.

You can view a list of scheduled reports or dashboards on the View > Schedules page.

This chapter contains the following sections:

Creating a Schedule
Viewing the List of Scheduled Jobs
Changing Schedules
Pausing a Job
Deleting a Job
Running a Job in the Background
Event Messages

Overview of the Scheduler

Using the scheduler, you set up a schedule for generating reports or dashboard with parameters, output options, and notifications:

Schedule – When to run the scheduled job, and how often
Parameters – If the report or dashboard was designed with input controls, which parameters the scheduled job will use
Output Options – The name of the output file, the output format and locale, and where the output file is stored
Notifications – Email options for sending the output to recipients and for sending administrative messages

The permissions of the user who schedules a job determines the data that is exposed. For example, Gloria only has access to inventory data from the Southeast US region. A report that she schedules only shows data from that region, even when the report is viewed by users in other regions. Other users schedule the report themselves to see the data for their own regions.

Sensitive data could be exposed to unauthorized users if you schedule a job as an administrative user with no data restrictions because the output will contain all requested data in the data source. Any user who receives the output can view all the data regardless of the user’s access restrictions.

Scheduling a dashboard requires having PhantomJS installed on the computer hosting JasperReports Server. For information on configuring PhantomJS for dashboards, see the System Configuration chapter in the JasperReports Server Administrator Guide.

Version: 
Feedback
randomness