#220: BibSched: bypass CFG_BIBTASK_VALID_TASKS check?
----------------------+-----------------------------------------------------
 Reporter:  jcaffaro  |       Owner:  skaplun
     Type:  defect    |      Status:  new    
 Priority:  major     |   Milestone:         
Component:  BibSched  |     Version:         
 Keywords:  BibTask   |  
----------------------+-----------------------------------------------------
 When a task 'foo' is not in {{{CFG_BIBTASK_VALID_TASKS}}}, it is not
 allowed to run in BibSched.
 However, when started manually from the command line, it can run. Is it a
 wanted behaviour? Should it be (is it) documented somehwere?

 Eg:
 {{{
 $ sudo -u www-data /opt/cds-invenio/bin/foo --bar
 2010-07-29 15:31:07 --> Task #18 submitted.
 $ sudo -u www-data /opt/cds-invenio/bin/bibsched
   ['R'un the task -> "Process foo is not in the list of allowed
 processes."]
 $ sudo -u www-data /opt/cds-invenio/bin/foo 18
 2010-07-29 15:31:26 --> Task #18 started
 2010-07-29 15:31:27 --> Task #18 finished. [DONE]
 }}}

-- 
Ticket URL: <https://invenio-software.org/ticket/220>
Invenio <http://invenio-software.org>

Reply via email to