...
Code Block | ||
---|---|---|
| ||
for ( var i = 0; i < valuePart.length; i++) \{ spooler_log.info( " valuePart : " + valuePart[i]); var order = spooler.create_order(); var variable_set = spooler.create_variable_set(); variable_set.set_var("scheduler.remote_scheduler", valuePart[i]); spooler_log.info(variable_set); order.params = variable_set; var order_secs = 10 * i; spooler_log.info( " order_secs : " + order_secs); order.at = "now+10"; spooler.job_chain( "MY_JOB_CHAIN").add_order( order ); \} |
- The Order Parameters: you Parameter: Configure your own hosts and ports for your environment. You can configure this in JOE. Alternatively, the list of hosts and ports can be edited in the XML file
RemoteSchedulerOrder,ServerGroup.order.xml
:
...