Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Typo

...

Code Block
languagexml
 <job order="yes">
    <params/>
    <script language="javax.script:ecmascript"><![CDATA[
 function spooler_process() {
   var thisOrder = spooler_task.order();
   var order = spooler.create_order();
   var execute_jobchain = thisOrder.params().value("execute_jobchain");
   order.id = thisOrder.id + "_next" ;
   order.params().merge(thisOrder.params);
   spooler.job_chain( execute_jobchain ).add_order( order );
   return true;
 } 
    ]]></script>
    <run_time/>
 </job>

Create a synchronization job with the name sync using the job

...

wizard in JOE

Code Block
languagexml
 <job title="Synchronize Job Chains"
     order="yes">
    <description>
        <include file="jobs/JobSchedulerSynchronizeJobChains.xml"/>
    </description>
    <params/>
    <script language="java"
            java_class="sos.scheduler.job.JobSchedulerSynchronizeJobChains"
            java_class_path=""/>
    <run_time/>
 </job>

...