AutoSys Workload Automation

 View Only
  • 1.  How to list all jobs with respect to specific machine

    Posted Jul 31, 2020 05:17 PM
    Dear All, 

    Kindly anyone suggest to list all jobs with respect to specific machine using autorep command

    ------------------------------
    Best Regards
    Pratap
    ------------------------------


  • 2.  RE: How to list all jobs with respect to specific machine

    Broadcom Employee
    Posted Aug 04, 2020 04:11 PM
    Pratap,

    The AEWS RESTful web service allows you to filter jobs by machine name (e.g. GET HTTPS://hostname:9443/AEWS/job.json/?filter=machine==localhost). You could invoke the web service via curl if you need to do this in batch.

    ------------------------------
    Broadcom - CA Technologies
    ------------------------------



  • 3.  RE: How to list all jobs with respect to specific machine

    Posted Aug 05, 2020 07:08 AM

    Dan,

     

    When will HTTP job types have destination file? and when will sql job typers be able to use a sql_file ?

     

    Thank you

     

     

    Steve C.

     



    Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

    Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.





  • 4.  RE: How to list all jobs with respect to specific machine

    Broadcom Employee
    Posted Aug 05, 2020 10:50 AM
    The HTTP job type in AutoSys 12.0 supports storing the response as a file in text format.I don't currently have an ETA for the SQL job type to support an input file.

    ------------------------------
    Broadcom - CA Technologies
    ------------------------------



  • 5.  RE: How to list all jobs with respect to specific machine

    Posted Aug 05, 2020 10:53 AM

     

    Thank you

     

    Steve C.

     



    Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

    Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.





  • 6.  RE: How to list all jobs with respect to specific machine
    Best Answer

    Posted Aug 05, 2020 02:38 AM
    Hi,

    This should do

    autorep -J job_name_pattern% -q | grep -B 3 machine_name | grep insert_job | awk '{print $2}'

    Best regards.
    José


  • 7.  RE: How to list all jobs with respect to specific machine

    Posted Aug 06, 2020 07:06 AM

    If you use WCC you can use quickedit to search jobs by machine.

     

     

     

    Steve C.

     



    Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

    Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.