Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
	<scheduledArchiveTask>
		<predefinedArchiveTask>merge new data into archive</predefinedArchiveTask>
		<description>merge data</description>
		<startTime>03:00:00</startTime>
		<endTime>20:30:00</endTime>
		<runIntervalInSeconds>60</runIntervalInSeconds>
		<active>false</active>
	</scheduledArchiveTask>


If you use this feature you also need to configure the immediate harvester task. This will ensure that after the merge activity the newly added data sets are directly available in the archive.


Immediate harvester task

The immediate harvester task will harvest data sets on demand. 

Code Block
languagexml
 	<scheduledArchiveTask>
		<predefinedArchiveTask>immediate harvester task</predefinedArchiveTask>
		<description>immediate harvester task</description>
		<startTime>00:00:00</startTime>
		<endTime>23:59:00</endTime>
		<runInterval>2</runInterval>
		<active>false</active>
	</scheduledArchiveTask>



Custom tasks

It is also possible to define custom tasks.  To make sure that the archive can start the script correctly, you can start the script from the commandline and check if it runs correctly. Usually configurators create a .bat-file or a .sh file to launch another executable. Below an example.

...