BackPrevious Page Next PageNext

Task-level Timeout for Advanced Run and Schedule Tasks

A task-level timeout mechanism is introduced in order to avoid the never-finished running tasks consuming server resources and thus decreasing the server performance. With the mechanism, 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. To do this:

  1. Do either of the following to enable the task-level timeout mechanism.
  2. Set task duration check frequency. By default, JReport Server checks task duration every 30 seconds. The period value can be reset by either of the following:

    The period value must be an integer greater than 0. Since task duration check frequency affects server performance, it is recommended that you set the value according to your system environment.

  3. Use the Duration tab in the Advanced Run or Schedule dialog to specify task duration.

    Duration tab

    1. In the Timeout text box, specify the time limit for when the task can run before notifying of the timeout or canceling the task.
    2. If you want to notify someone of the task status if the task has not yet finished running when the task duration is up, check Notify by e-mail after the specified time and specify the mail address in the Mail To text box.
    3. If you want JReport Server to cancel the task when the task duration is up but the task is not finished yet, check Cancel the task after the specified time.
  4. Submit the task.

Then, when the specified task duration is up but the task has not finished running,

Notes:

BackPrevious Page Next PageNext