1 2 Previous Next 18 Replies Latest reply on Jul 29, 2015 7:25 AM by Bill Robinson

    Need blcli help to get last job run status with start and end time

    Ashish Vijay

      I need to create a BLCLI and NSH script to get a HTML report for below data


      1) Job Name

      2) Start Time (Last run)

      3) End Time (Last run)

      4) Status (Last run)


      All data should be for last run only. I got some BLCLI command but i get error for some jobs. For some jobs its working fine. Can someone help how i can get these data for any job i want to check.


      #blcli_execute JobRun findLastRunByJobKey "DBKey:SJobKeyImpl:2049691-3"

      Command execution failed. com.bladelogic.om.infra.mfw.util.NotFoundException: job run with id 0 not found

        1 2 Previous Next