function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prasad p 18prasad p 18 

how many we can schedule the batch apex ?

Deepali KulshresthaDeepali Kulshrestha
Hi prasad,

Greetings to you!

- There are some answers which are related to your question. Please find all the answers below : -
1) how many such batch classes can I keep adding to the below schedulable class without errors? - (I think you can add up to 5 only in that way if you want to more you need to add them in flex queue)
2) Are there any limitations? - (5 active batch job limitation.)
3) What issues would I face? Read this documentation for limits in Batch and issue you may face https://help.salesforce.com/apex/HTViewSolution?id=000176644&language=en_US

- Please use the below link for further reference : - 
    https://salesforce.stackexchange.com/questions/99892/how-many-batches-can-i-run-in-1-schedulable-class

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha.
Ajay K DubediAjay K Dubedi
Hi Prasad,

I hope you are doing well Found an old answer to your question...
try this
https://salesforce.stackexchange.com/questions/99892/how-many-batches-can-i-run-in-1-schedulable-class

You can follow this link for more help:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks,
Ajay Dubedi