wiki:proposals/HarvestingSchedule

Harvesting schedule

Date 2012/02/12
Contact(s) Jesse Eichar, Jose García
Last edited
Status Done
Assigned to release 2.7.0
Resources
Ticket # #772

Overview

Actual schedule for harvesters allow only to define an interval to run periodically the harvesters. The main disadvantage is that this interval is relative to the time the harvester is activated, being not possible to define specific hour to run it.

This proposal modifies the harvesters schedule to be similar as Lucene Index Optimizer schedule, allowing the user to define the initial hour to run them, an interval to reschedule and the days of week to run the harvester.

New harvesters schedule

The initial proposal has been updated with Jesse changes to use Quartz scheduler.

Proposal Type

  • Type: GUI Change, Module Change
  • App: GeoNetwork
  • Module: Harvester
  • Documents:
  • Email discussions:
  • Other wiki discussions:

Voting History

  • Vote proposed by Jose Garcia on 27 April 2012, result was +/-n (m non-voting members).

Motivations

The main motivation is to improve the schedule configuration for harvesters, so users can configure to run them at specific time.

Proposal

This feature changes the configuration of harvesters to configure the initial time to run a harvester and the interval to re-run it:

  • The initial time can be configured in intervals of 15 minutes

  • The interval values available are from 1 h to 12 h
  • The days of week to run harvester.

Harvesters interval values

These values could be easily customized in the files loc/XX/harvesting.xml

A patch is provided in #772 to review.

Backwards Compatibility Issues

The sql migration scripts should contain some sql commands to update existing harvesters with a default schedule: for example, can setup harvesters to run at specific hour and for the interval tu run by default every day.

Users will need to update in Administration UI these values if want another configuration.

Risks

Participants

  • Jesse Eichar
  • Jose García
Last modified 12 years ago Last modified on May 16, 2012, 5:21:46 AM

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.