AutoSys Workload Automation

 View Only
Expand all | Collapse all

Autosys Command to check On_Hold & On_ICE jobs on a perticular Agent

  • 1.  Autosys Command to check On_Hold & On_ICE jobs on a perticular Agent

    Posted Apr 27, 2020 12:12 PM
    Hi All,

    Please help me with command to find all the jobs on an agent named as <<Agent1>> which are placed on On_Hold, On_ICE.

    Your Help is highly appreciated

    Regards,
    Arshad

    ------------------------------
    Arshad
    ------------------------------


  • 2.  RE: Autosys Command to check On_Hold & On_ICE jobs on a perticular Agent
    Best Answer

    Posted May 02, 2020 07:00 AM
    Hi,


    following command may work

    autorep -J % -q | grep -B 3 Agent1 | grep insert_job | awk '{print $2}' | xargs -l1 autorep -J | egrep 'OH|OI'


    br
    JR