as per the documentation http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm Maximum number of Batch Apex jobs queued or active 5 So you might want to change
i hava couple of doubts please give me answers.. 1. is it possible to execute batch class immidiately, without participate in Queue ? 2. is it possible active or deactive Apex class or Trigger at run time(Dynamically through coding) ? 3.how to know how many schedule Apex class are running in org ? 4.how to cover catch block code in Test class ?
If this solves your questions, please mark it as "Best Answer" if not, please reply with your doubts.
All Answers
If this solves your questions, please mark it as "Best Answer" if not, please reply with your doubts.
that is perfect code.
but the thing is salesforce at a time how many Batch class are process (excute) ?
Thanks.
as per the documentation http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
Maximum number of Batch Apex jobs queued or active 5
So you might want to change
to
Kind regards
i hava couple of doubts please give me answers..
1. is it possible to execute batch class immidiately, without participate in Queue ?
2. is it possible active or deactive Apex class or Trigger at run time(Dynamically through coding) ?
3.how to know how many schedule Apex class are running in org ?
4.how to cover catch block code in Test class ?
it's greate help to me.
Thanks