#229: inveniocfg should have target to start common jobs
------------------------+---------------------------------------------------
  Reporter:  jblayloc   |       Owner:  tbrooks
      Type:  defect     |      Status:  new    
  Priority:  major      |   Milestone:         
 Component:  *general*  |     Version:         
Resolution:             |    Keywords:         
------------------------+---------------------------------------------------

Comment (by skaplun):

 This could be a duplicate of
 [https://savannah.cern.ch/task/index.php?14845 Savannah's #14845], but
 since it was on Savannah, I'll declare it duplicate there and copy it
 here, since it's slightly different, and the two tasks can work together.

 [...]
 BibSched tasks that are scheduled with the -s option can be thought to be
 a kind of BibSched configuration for a system.
 E.g. one installation of Invenio would typically set up default bibtasks
 such as bibindex, bibrank, webcoll and so on, with options that are suited
 to their typical usage.
 Moreover once bibtasklets will be part of the system, very specific tasks
 can become part of the setup of a given Invenio installation.
 A way to dump the current configuration of -s tasks, and to load it back,
 would be a very nice feature to have, so that in anytime this
 configuration can be stored.
 We can ship a default bibsched.conf ini file such as:

 {{{
 [default_bibindex]
 id=1 ## optional see below
 priority=1 ## optional default 0
 proc=bibindex
 user=admin ## optional default admin
 sleeptime=5m
 arguments=-u admin -o HB -s 5m
 host=localhost ## optional default localhost

 ...
 }}}

 We can choose to either let the system to choose the id when loading or
 letting the dump/user to specify the id. In case the id already exist
 bibsched should:
 * either complain with an error
 * or substitute the existing task with the one coming from the config
 * or allocate a new id
 Probably the most common behaviour would be the second one, as admin might
 wish to keep important tasks to have small id numbers.
 We can ship Invenio with a default configuration in bibsched.conf
 representing what comes with the [http://invenio-demo.cern.ch/help/admin
 /howto-run HOWTO-RUN guide], and allow for a bibsched-local.conf file to
 be customized by Invenio users, by owerwriting specific sections (e.g.
 they might customize the specific default_bibindex section).
 [...]

-- 
Ticket URL: <http://invenio-software.org/ticket/229#comment:1>
Invenio <http://invenio-software.org>

Reply via email to