Forum Discussion

cel1's avatar
cel1
Level 3
7 years ago

Set Max jobs per policy

Hello, 

   I'm trying to limit the maximum number of jobs per policy via bppllinfo command because I have to do it for a large number of policies , I have used the following command but it dont change the value wich remains unlimited .

   Could you please tell me what is wrong with the command .

bppllinfo $POLICY -modify policyjobs max_jobs=1 .

Regards,

Zakaria

 

 

 

  • Have you tried this?

    bpplinfo $POLICY -modify -policyjobs max_jobs 1  

    • cel1's avatar
      cel1
      Level 3

       

        No it does not work either , it gives a syntax problem : bpplinfo : unrecognized option 1 .

       

      • Marianne's avatar
        Marianne
        Level 6

        Apologies - reading the Commands manual again : https://www.veritas.com/support/en_US/doc/123533878-127136857-0/v123541652-127136857

        -policyjobs max_jobs

        The maximum number of concurrent jobs that NetBackup allows for this policy (corresponds to the Limit Jobs per Policy setting in the administration interface). The value of max_jobs is always greater than or equal to 0.

        So, max_jobs needs to be replaced with the value: 

        -policyjobs 1