BackPrevious Page Next PageNext

Schedule

JReport Server allows you to schedule a report to run at a specific time and publish the report result to different formats.

To access the Schedule dialog, on the JReport Console > Resources page, browse to the report you want to schedule, then do either of the following:

This dialog contains the following tabs:

Back

Goes back to the left tab.

Next

Goes to the right tab.

Finish

Applies the settings.

Cancel

Closes the dialog and discards any changes.

Help

Displays the help document about this feature.

General

Before you can schedule a task, you first need to configure the settings in this tab.

Schedule dialog - General tab

Schedule Name

Specifies the name for the schedule task.

Select Report Tabs

The section is available for page reports only. It allows you to specify the report tabs you schedule to run. The selected report tabs will be exported in the list order. If the page report has only one report tab, it is selected by default.

Select Dynamic Connection

The section is available when there are multiple dynamic connections for the current log-in user. It allows you to specify a dynamic connection.

Report Information

Specifies the report information.

Advanced

Configures some advanced settings.

Parameter

This tab allows you to specify the parameter values if any to run the report.

Schedule dialog - Parameter tab

Enter Parameters

Displays parameters of the report with your last-time saved default values, which could be the values saved in this tab last time, or in the Enter Parameter Values dialog or Parameter Settings dialog, or when advanced running the report, and for a web report, could also be the values saved in the Parameters panel. Edit the values according to your requirement. You may specify parameter values in these ways.

If you have not yet set the default values on the server, or if you did but your saved default values cannot fully match the current parameters, all the parameters will use their default values specified in the parameters' definition as the initial values.

If no parameter is used in the report, "No Parameter Needed" will be displayed here.

Use Saved Values button Use Saved Values

If it is available, you can select the previously saved parameter values to apply to the report and save parameter values for reuse later.

Save as default

Saves current parameter values as the default values for the report. Available when Enable Setting Default Parameter Values For the corresponding report type is selected in the Profile > Customize Server Preferences > Advanced tab.

This option is a user-report level setting. It is an action and takes effect after the task is submitted. Its initial status is always unselected.

Publish

The Publish tab allows you to specify the type of the task. There are two main tasks to publish your reports: Default Task and User Task. By default, Default task is used to publish the reports. To use the User Task, click the User Task link in the Default Task page.

Default Task

If you select Default Task to publish your reports with, when specifying your task type, you can choose from the following six sub tasks:

Note: If you are scheduling a bursting report, the Publish tab will change according to the bursting setting made in the General tab of the Schedule dialog. For details about the change, see Scheduling a task containing a bursting report.

User Task

If you select User Task to publish your reports, you can implement a customized task with schedule properties. This option is not available to organization users.

To Version

This tab is for you to specify settings for publishing the report result to the versioning system.

Schedule dialog - Publish tab - To Version

Publish to Versioning System

Specifies to publish the report result to the versioning system. You can publish the result to the following formats:

Archive Location

Specifies the location for the saved report result version.

Apply Archive Policy

Applies an archive policy to the report result version.

Result Auto-delete

Specifies the deleted date of the result. Set the result to be automatically deleted within one hundred years. If the time you specify exceeds one hundred years, JReport Server will keep the report result forever.

Set Permissions

Available only when the Archive Location is specified to be Public Reports Folder. Click the link to set user permissions to the specified report tabs or web report in the Set Permissions dialog.

To Disk

This tab is for you to specify settings for publishing the report result to the file system.

Schedule dialog - Publish tab - To Disk

Publish to Disk

Specifies to publish the report result to the file system. You can publish the report result to the following formats:

For each format, you can decide whether to publish the results to the server resource tree or to the server disk path. Then you need to type in the blank location field root of the resource tree or disk path as shown in the examples below:

When publishing a page report, if you choose the JReport Result and Page Report Result formats, you need only provide one file path because all selected report tabs will be output into one file. For other formats, if you leave the Export to One File option in the General tab unchecked, you need to specify a file path for each selected report tab.

To E-mail

This tab is for you to specify settings for publishing the report result to e-mail.

Schedule dialog - Publish tab - To E-Mail

Mail To

Lists the e-mail addresses you have sent mail to.

New

Creates a new e-mail.

When you select one of the following formats, that is you want to send the report result as an attachment file, you can specify a file name for the file by setting the File Name option.

Edit

Edits the specified e-mail in the Mail To list.

Delete

Deletes the specified e-mail from the Mail To list.

To Printer

This tab is for you to specify settings for publishing the report result to a printer.

Schedule dialog - Publish tab - To Printer

Publish to Printer

Specifies to publish the report result to a printer.

Select Print Method

Specifies the printing method to print the report result.

Printer

Specifies the name with the path of the printer. You can type it in the box or select it from the drop-down list.

When JDK1.4 is selected in the Select Print Method drop-down list, the following options will be available.

Paper Size

Specifies the paper size.

Print Range

Specifies the pages to be printed.

Copies

Specifies the number of copies you want to print. The number of copies will be applied to all specified pages.

Print to File

Prints the document to a file instead of a printer. This kind of files can only be opened and printed by serial port printer on Windows via DOS command.

Job Attributes

Specifies the properties of the print task.

Orientation

Specifies the orientation for the printed reports.

Color Appearance

Specifies to print the reports in Monochrome or in Color.

Print Quality

Specifies the print quality. It can be Draft, Normal, or High.

Print Sides

Specifies the print sides for the printed reports.

Sheet collate

Specifies the printing order for printing multiple-page reports.

Margins

Specifies the paper margins for the printed reports (MM or Inch).

Media Tray

First select a printer, and then from the drop-down list, specify the media tray.

Note: JReport Server cannot obtain information on which options are supported and which are not from your printer and reflect it on this tab. You should configure the setting according to your printer carefully.

To Fax

This tab is for you to specify settings for publishing the report result to fax.

Schedule dialog - Publish tab - To Fax

Note that before you can fax the report result, you must have your modem configured, otherwise a warning message will be displayed.

Publish to Fax

Specifies to publish the report result to fax.

Quality

Specifies the quality of the fax: Best, Normal, and Fast.

Include Cover Sheet

Specifies to send a cover sheet with the fax.

The following items are displayed on the fax cover sheet.

To

Specifies the name of the recipient.

From

Specifies the name of the sender.

Company

Specifies the sender's company.

Date

Specifies the date on which the fax is to be sent. You can specify the date by clicking the calendar button Calendar button.

Fax Number

Specifies the fax number of the recipient.

Phone Number

Specifies the phone number of the sender.

Re

Specifies the subject of the fax.

Comments

Specifies the comments of the fax.

Urgent

Specifies whether the fax is urgent or not.

For Review

Specifies that the recipient only needs to view the fax.

Please Comment

Specifies that the recipient is required to comment on the content of the fax.

Please Reply

Indicates that a reply is required for the fax.

To FTP

This tab is for you to specify settings for sending the report result to an FTP site.

Schedule dialog - Publish tab - To FTP

FTP To

Lists the FTP sites you can send the report result to.

New

Creates a new FTP site.

Edit

Edits the specified FTP site in the FTP To list.

Delete

Deletes the specified FTP site from the FTP To list.

Conditions

The Conditions tab allows you to specify the conditions for the publishing task. It contains the following two sub tabs:

Time

The Time tab allows you to set settings for specifying the time for when the task is to be performed.

Schedule dialog - Conditions tab - Time

Time Zone

Specifies the time zone.

Time Type

Specifies the time type of the task.

Trigger

The Trigger tab allows you to set settings for specifying a trigger for the task.

Schedule dialog - Conditions tab - Trigger

Select a trigger to bind

Specifies the trigger from the drop-down list for the task.

Create New

Creates a new trigger. This option is not available to organization users.

Logic with time condition

Specifies the logic between time condition and trigger condition.

Notification

The Notification tab allows you to notify someone by e-mail when a task finishes running, regardless of whether it is successful or unsuccessful.

Schedule dialog - Notification tab

When task is successful

Specifies to send an e-mail when the task is successful.

When task fails

Specifies to send an e-mail when the task is unsuccessful.

Mail To

Lists the e-mail addresses you have sent mail to.

New

Creates a new e-mail.

Edit

Edits the selected e-mail in the Mail To list.

Delete

Deletes the selected e-mail from the Mail To list.

Duration

This tab is available only when you have enabled the task-level timeout mechanism. In this tab, you can specify a time duration for a 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.

Schedule dialog - Duration tab

The following are the available options:

Timeout

Specifies the time duration for the task.

Notify by e-mail after the specified time

Sends an e-mail about the task information when the specified time is up.

Cancel the task after the specified time

Cancels the running task when the specified time is up.

BackPrevious Page Next PageNext