Changes between Version 13 and Version 14 of AssimilateIntro
- Timestamp:
- Oct 24, 2014, 2:18:23 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AssimilateIntro
v13 v14 64 64 '''script_assimilator''' takes a command-line argument 65 65 66 --script filename:: name ofscript to handle a completed job66 --script "filename arg1 ... argn" :: script to handle a completed job 67 67 68 The script is called as 68 '''arg1 ... argn''' represent cmdline args to be passed to the script 69 for successful workunits. 70 The options are: 71 '''files''' :: list of output files of the job's canonical result 72 '''wu_id''' :: workunit ID 73 '''result_id''' :: ID of the canonical result 74 '''runtime''' :: runtime of the canonical result, in seconds 75 76 If no args are specified, the script is invoked as 69 77 {{{ 70 script --wu_name X f1 ... fn78 scriptname wu_id files 71 79 }}} 72 to handle a successful job, where X is the workunit name 73 and f1 ... fn are the output files of the canonical result, 74 oras80 81 If the workunit has no canonical result (i.e. it failed) 82 the script is invoked as 75 83 {{{ 76 script --wu_name X --error N84 scriptname --error N wu_id 77 85 }}} 78 to handle an error job, were N is an integer encoding the error conditions 79 (see WU_ERROR_* in html/inc/common_defs.inc) .86 where N is an integer encoding the reasons for the job's failure 87 (see WU_ERROR_* in html/inc/common_defs.inc) 80 88 81 89 The script must be put in your project's bin/ directory.