Completed persisted scheduler jobs should not be shown on view page.

Description

Persistent scheduler is not deleting completed jobs, the reason we keep the completed jobs is we want to show client(or administrator) the status of the persistent jobs(completed, paused or running).

The problem here is there may be lots of completed jobs in database(for example, Sesame project schedules dozens of pages for publication every week and many of their pages get published at least once per week), and it will load into memory every time restart server, it may cause bad performance both on the view page database.

The solution is to use Audit Portlet. Delete the persistent jobs once finished, meanwhile send a audit message to record the actions.
We will not use Audit Portlet to show the history of job actions, cause it is different from other kind of resource that use Audit Portlet, will provide this function in Scheduler Management Portlet in the future.

Activity

Show:

Michael Saechang March 28, 2012 at 5:28 PM

Committed on:
6.1.x GIT ID: bf11c7193e95276c9dc90b09fddcb15d7da3438d.
6.2.x GIT ID: f98eb27b7a2f88b2302365893748177a9d0e4ef2.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Components

Affects versions

Priority

Zendesk Support

Created February 6, 2012 at 11:08 PM
Updated June 24, 2023 at 3:58 PM
Resolved February 9, 2012 at 12:44 AM
Loading...