Forum Discussion

kproehl's avatar
kproehl
Level 5
16 years ago

How to kill a job by using the JOB ID

We are running 6.5.1 on a windows machine and were interted in knowing if there is a way to kill a job if you only have the JOB ID.  We know how to kill a job when you have a pid but is there a way to...
  • CY's avatar
    16 years ago
    Hi kproehl,

    bpdbjobs command is what you need.  

    Quote from NetBackup Commnads Guide:

    "bpdbjobs interacts with the jobs database and is useful in scripts or as a command line administration tool. Use bpdbjobs to print the entire jobs database, print a summary of the database, delete done jobs, cancel uncompleted jobs, and clean old jobs."


    Just run:

    bpdbjobs.exe -cancel JOB_ID