Versions Compared

Key

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

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

...

Use the attribute configuration_directory in ./config/scheduler.xml

Code Block
 <spooler>
   
   <config mail_xslt_stylesheet="config/scheduler_mail.xsl" 
           port="4444"
           configuration_directory="/path/to/another/live/folder"
   >
   ...
   </config>
 </spooler>

By setting the attribute @configuration configuration_directory of the config element you can specify a folder for the configuration of the jobs, job definitionschains, orders, schedules , run-times et ceteraetc.. The default setting is the live directory, which itself is to be found in the same directory as the configuration file ./config/scheduler.xml.

Alternative II: use JobScheduler command options

You can specify the location of the job scheduler configuration with two different commandline options:

No Format

 *[-config|http://www.sos-berlin.com/doc/en/scheduler.doc/command_line.xml#option_config] (location of {*}scheduler.xml{*} or the configuration folder)

See also here for further information.

Alternatively you can use the command line option -configuration-directory.

Code Block
 > ./bin/jobscheduler.sh start -configuration-directory="/path/to/another/live/folder" 

Usage with multiple live folders

It is not possible to configure multiple live folders but you can use symlinks in the live folder so that a subfolder of live pointed to another.

For example, if you have job configurations in /mnt/other_host/live/ then you can add it to the live folder like this:

Code Block
  > cd ./config/live
  > ln -s /mnt/other_host/live/ live_on_other_host

In this case you have a subfolder live_on_other_host in live that contains all objects from /mnt/other_host/live/.

 To change the location of the scheduler configuration directory (default is config under the installation directory), you have to specify the name of the configuration folder as argument for the -config option. It is necessary that a file named scheduler.xml exists in this folder.