Forum Discussion

tour's avatar
tour
Level 2
16 years ago

how to force a queued job to be cancelled? (without a job PID) is it possible?

 I know that by cmd "taskkill /pid 7900 -f" we can cancel a running job by force. But is there a way to cancel a job that has been queued thus without a "job pid" ?

There are a lot of jobs that are queued and that I need to cancel by force since they are not responding by the normal way.
I normally use this cmd "TASKKILL /PID # -F" for  jobs with an assigned PID (process id), but I need to find a way to cancel jobs without pid.
if someone could assist me with this, that will be great, 
cheers 
thanks
  • Anonymous's avatar
    Anonymous
    This command is close to what you require within NetBackup to 'kill' jobs.

    Show a summary of activity monitor jobs
    # bpdbjobs -summary

    Show all data stored in Activity Monitor
    # bpdbjobs - report

    Kill all ACTIVE jobs
    # bpdbjobs -kill_all

    Kill jobs
    # bpdbjobs -kill <jobID>


    Full documentation here
    Complete documentation for command line options for bpdbjobs.
    http://seer.entsupport.symantec.com/docs/235842.htm
    Formatting the output from the bpdbjobs command in VERITAS NetBackup (tm)
    http://seer.entsupport.symantec.com/docs/266314.htm
  • thank you very much,    I think this one is the one I need    # bpdbjobs -kill <jobID>       

    and I suppose this one works only using the job id instead of the process id right?

    thanks