Automic Workload Automation

 View Only
  • 1.  Outage Windows for multiple Schedule

    Posted Oct 20, 2020 04:04 AM
    Dear Comunity

    Sorry If my questions could be easy but I'm a newbie on Automic. I need to know if there is scripting way to put an outage windows on sevevaral Schedule.

    I need to stop 300 Schedule for HW Maintenace for 3 Hours between 02:00 AM and 05:00 AM.

    With Dollar Universe I've made a script to put an Exception on execution of Task and I use it only modifying the UPROC/SESSION Information, I need to know if there is something similar in Automic

    Thank you all


  • 2.  RE: Outage Windows for multiple Schedule

    Posted Oct 20, 2020 07:06 AM
    Hi Christian_Bassi_2802,

    Do you need to stop all JSCH or only some?

    Cheers
    Christoph 


    ------------------------------
    ----------------------------------------------------------------
    Automic AE Consultant and Trainer since 2000
    ----------------------------------------------------------------
    ------------------------------



  • 3.  RE: Outage Windows for multiple Schedule

    Posted Oct 20, 2020 07:11 AM
    Hi Christoph 

    Only some JSCH for a defined period

    Thanks


  • 4.  RE: Outage Windows for multiple Schedule

    Posted Oct 20, 2020 08:56 AM
    Hi Christian,

    If all these JSCH are assigned to the same QUEUE it would be easy ;-) => stop the QUEUE
    Well, if you only need to do it once I would do it manually. You can select all JSCH together  - at least in V12.3.3 - and than suspend them. If you need to do it more frequently you could script it.
    1. put the names of all JSCH in question into a VARA.STATIC 
    2. loop with
    : while   
    TOGGLE_OBJECT_STATUS (runid, STOP)
    : endwhile
    through the VARA
    The script is just an example...A second script would "TOGGLE_OBJECT_STATUS (runid, GO)"
    You can than schedule the scripts 

    Cheers
    Christoph

    ------------------------------
    ----------------------------------------------------------------
    Automic AE Consultant and Trainer since 2000
    ----------------------------------------------------------------
    ------------------------------