AutoSys Workload Automation

 View Only
  • 1.  Need help on a specific scenario in autosys

    Posted 7 days ago
    Hi,
    Good day. I am having scenario where if a predecessor job ran in the last 4 hours the successor job should not run.
    The tried the lookback option but it just triggers the job but I don't want the job to trigger.
    Ex:
    JobB depends on success of jobA but JobB should not trigger if the JobA ran within last 4 hours.
    Any help would be appreciated.
    Thanks.


  • 2.  RE: Need help on a specific scenario in autosys

    Posted 4 days ago
    I have not tried this myself, but would the answer be something like this...
    s(jobA) AND NOT s(jobA, 4)

    (I don't see where the use of "NOT" is allowed in the AutoSys documentation, so not sure this would work.)

    I also wonder if
    s(jobA) AND notrunning (jobA, 4)
    would work.


  • 3.  RE: Need help on a specific scenario in autosys

    Broadcom Employee
    Posted 2 days ago
    I would suggest adding an additional job into the flow.  So jobA is the same, but add new jobAdelay that would sleep for 4 hours and have jobB run on success of JobAdelay.  If jobB has other dependencies, it will still need to wait for the new job to complete before triggering.

    Regards,
    Mike