Job Scheduler

reset orders as xml/api command

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3.6
  • Component/s: Job Scheduler Binaries
  • Description:
    Hide
    Add new xml command / api function to reset an order:
    Order.reset()
    <modify_order action="reset"/>

    Resetting an order will have the following effect:
    - If the order is not being processed by a job:
    The order is set to it's initial state, the next start is re-calculated using the run time

    - If the order is currently being processed by a job:
    nothing will happen (the order will continue running depending on the job result)

    - If the order is currently suspended:
    The order is set to it's initial state, the next start is re-calculated using the run time, the order is un-suspended

    - If the order is currently set back:
    The order is set to it's initial state, the next start is re-calculated using the run time, the setback is cleared
    Show
    Add new xml command / api function to reset an order: Order.reset() <modify_order action="reset"/> Resetting an order will have the following effect: - If the order is not being processed by a job: The order is set to it's initial state, the next start is re-calculated using the run time - If the order is currently being processed by a job: nothing will happen (the order will continue running depending on the job result) - If the order is currently suspended: The order is set to it's initial state, the next start is re-calculated using the run time, the order is un-suspended - If the order is currently set back: The order is set to it's initial state, the next start is re-calculated using the run time, the setback is cleared

Activity

Hide
Andreas Liebert added a comment - 02 December 2008 17:25
Added a restriction: The command will not work for orders which are currently being processed by a job.
Show
Andreas Liebert added a comment - 02 December 2008 17:25 Added a restriction: The command will not work for orders which are currently being processed by a job.

People

Dates

  • Created:
    04 August 2008 15:10
    Updated:
    20 January 2009 12:33
    Resolved:
    17 December 2008 10:29