Job Scheduler

When creating an order with command on exit no parameters are set.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: next
  • Component/s: Job Scheduler Binaries
  • Description:
    Hide

    <?xml version="1.0" encoding="ISO-8859-1"?>

    <job order="yes"
    stop_on_error="no"
    tasks="10">
    <params/>
    <script language="javascript">
    <![CDATA[
    function spooler_process(){ o = spooler_task.order; spooler_log.info("---------->" + o.params.value("test")); return true; }
    ]]>
    </script>
    <run_time/>
    </job>

    <?xml version="1.0" encoding="ISO-8859-1"?>

    <job order="yes"
    stop_on_error="no">
    <script language="shell">
    <![CDATA[
    echo ---------%SCHEDULER_PARAM_EXECUTE_COMMAND%
    exit 0
    ]]>
    </script>
    <monitor name="configuration_monitor"
    ordering="0">
    <script java_class="sos.scheduler.managed.configuration.ConfigurationOrderMonitor"
    language="java"
    />
    </monitor>
    <run_time/>
    <commands on_exit_code="0">
    <order job_chain="ExecuterChain"
    replace="yes">
    <params>
    <copy_params from="order"/>
    </params>
    </order>
    </commands>
    </job>

    <?xml version="1.0" encoding="ISO-8859-1"?>

    <job_chain orders_recoverable="yes"
    visible="yes">
    <job_chain_node state="100"
    job="CreateExecuter"
    next_state="200"
    error_state="error"/>
    <job_chain_node state="200"
    job="CreateExecuter"
    next_state="sync"
    error_state="error"/>
    <job_chain_node state="sync"
    job="Sync_parallel"
    next_state="success"
    error_state="error"/>
    <job_chain_node state="success"/>
    <job_chain_node state="error"/>
    </job_chain>

    <?xml version="1.0" encoding="ISO-8859-1"?>

    <job_chain orders_recoverable="yes"
    visible="yes">
    <job_chain_node state="100"
    job="ExecuteCommand"
    next_state="sync"
    error_state="error"/>
    <job_chain_node state="sync"
    job="Sync_parallel"
    next_state="success"
    error_state="error"/>
    <job_chain_node state="success"/>
    <job_chain_node state="error"/>
    </job_chain>

    Show
    <?xml version="1.0" encoding="ISO-8859-1"?> <job order="yes" stop_on_error="no" tasks="10"> <params/> <script language="javascript"> <![CDATA[ function spooler_process(){ o = spooler_task.order; spooler_log.info("---------->" + o.params.value("test")); return true; } ]]> </script> <run_time/> </job> <?xml version="1.0" encoding="ISO-8859-1"?> <job order="yes" stop_on_error="no"> <script language="shell"> <![CDATA[ echo ---------%SCHEDULER_PARAM_EXECUTE_COMMAND% exit 0 ]]> </script> <monitor name="configuration_monitor" ordering="0"> <script java_class="sos.scheduler.managed.configuration.ConfigurationOrderMonitor" language="java" /> </monitor> <run_time/> <commands on_exit_code="0"> <order job_chain="ExecuterChain" replace="yes"> <params> <copy_params from="order"/> </params> </order> </commands> </job> <?xml version="1.0" encoding="ISO-8859-1"?> <job_chain orders_recoverable="yes" visible="yes"> <job_chain_node state="100" job="CreateExecuter" next_state="200" error_state="error"/> <job_chain_node state="200" job="CreateExecuter" next_state="sync" error_state="error"/> <job_chain_node state="sync" job="Sync_parallel" next_state="success" error_state="error"/> <job_chain_node state="success"/> <job_chain_node state="error"/> </job_chain> <?xml version="1.0" encoding="ISO-8859-1"?> <job_chain orders_recoverable="yes" visible="yes"> <job_chain_node state="100" job="ExecuteCommand" next_state="sync" error_state="error"/> <job_chain_node state="sync" job="Sync_parallel" next_state="success" error_state="error"/> <job_chain_node state="success"/> <job_chain_node state="error"/> </job_chain>

Activity

There are no comments yet on this issue.

People

Dates

  • Created:
    11 February 2011 14:44
    Updated:
    17 November 2011 17:34