Menu

Suspending an order

Help
Naranek
2015-09-01
2015-09-03
  • Naranek

    Naranek - 2015-09-01

    I'm using JobScheduler to control a process which might take days to complete. We'd like to have the process run only at night, so I'm trying to create a solution where I can set the JobScheduler Order to a "waiting" state for the day, and then set it to "running" in the evening. The system should also send a "suspend" and "resume" commands to the process REST API when it's entering these states. Do you have any pointers about how to approach this without the system getting overly complex? I guess I would need to use the events, but I'm having trouble finding documentation about this types of cases.

    Also - on page 22 of the event handler pdf it says:

    [...] In this case there are two possible ways of checking whether the event exists:
    1.
    2.
    The -w option is set to check. [...]

    It gave me a chuckle, but it still might be a good idea to fix it :)

     

    Last edit: Naranek 2015-09-01
  • Uwe Risse

    Uwe Risse - 2015-09-03

    Does the process you want control have an interface to let the process go into a suspend state?
    Please describe the "process REST API"

     

Log in to post a comment.