Automic Workload Automation

  • 1.  How to avoid clash of hourly and daily job

    Posted Nov 05, 2015 04:22 AM
    Hi all,
    I have JOB1 that runs every Hour on an event. 
    I have JOB2 that runs every Day on a schedule.

    I want to avoid these jobs from clashing. 

    It's slightly more complicated by the fact that JOB1 runs on multiple Unix Hosts. The Host is passed into the Job via a variables.
    JOB2 also runs on multiple Unix hosts, the host also being passed in via variable.

    I'm only concerned about these jobs clashing if they are running on same Unix host.

    I'm sure there is built in Automc functionality to avoid this clash but I'm wrecking my brain to remember it.

    Can anyone help?

    Thanks,
    John.



  • 2.  How to avoid clash of hourly and daily job

    Posted Nov 05, 2015 04:23 AM
    I think I may have put this Topic in incorrect folder. Should be in the "How to" or "One Automation - English" folder.
    Please move if needed.


  • 3.  How to avoid clash of hourly and daily job

    Posted Nov 05, 2015 04:35 AM
    You need to use a SYNC object.   You may need to define one SYNC Object per Host. 
    When one of the two Jobs have to start they should register on this SYNC object using a script :ATTACH_SYNC or :GET_SYNC / :SET_SYNC
    If the other has to start and it cannot register, it will then wait till the previous job is over.