|Contact(s)||Jesse Eichar, Jose García|
|Assigned to release||2.7.0|
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.
The initial proposal has been updated with Jesse changes to use Quartz scheduler.
- Type: GUI Change, Module Change
- App: GeoNetwork
- Module: Harvester
- Email discussions:
- Other wiki discussions:
- Vote proposed by Jose Garcia on 27 April 2012, result was +/-n (m non-voting members).
The main motivation is to improve the schedule configuration for harvesters, so users can configure to run them at specific time.
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.
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.
- Jesse Eichar
- Jose García