Scheduling Updates Unix

Scheduling on Linux

The 'Schedule updates' page allows you to specify regular times at which collections should be updated. The scheduling system will be familiar to users of the Unix cron tool (which may be used directly if additional flexibility is required). Note that care is required when scheduling updates to ensure that simultaneous updates to several collections do not cause excessive load on the search server.

Scheduling interface

In the scheduling interface you can specify a number of parameters to control when updates occur. This can include the hours of the day, days of the week and days of the month on which updates should occur for each collection.

Schedule-collection-updates.png

Hints

  • In each of the input boxes you can enter:
    • single values: such as 17, Fri or Any.
    • range values: such as 9-17 or Mon-Fri
    • several values: a comma separated list of single items, such as 9,6 or Sat,Thu
  • Take care when specifying both days of the week and the days of the month for a collection. Normally one of these columns should be specified as Any. If an update is specified with both a day of the week and a day of the month (e.g. Tuesday and the 14th day of the month), that update will occur only when both constraints are satisfied (e.g. on Tuesdays which are also the 14th of the month).
  • Do not overlap large collection updates.
  • Allow sufficient time for update completion. If an update normally takes two days, there is no point in trying to re-update every hour or even every day.
  • Note that if you specify 29, 30 or 31 in the day of the month column no action will be taken in months which do not contain those days.

Examples

To update every Weekday at 9am and 5pm:

  • Hour of the Day = 9,17
  • Day of the Month = Any
  • Day of the Week = Mon-Fri

To update every fortnight:

  • Hour of the Day = 3
  • Day of the Month = 1,14
  • Day of the Week = Any

To update every hour of a weekend:

  • Hour of the Day = 0-23
  • Day of the Month = Any
  • Day of the Week = Sat,Sun

See also

top