You need to sign in to do that
Don't have an account?

Hello, when i run apex batch class or Scheduler class then it will count against the salesforce daily api limit or not? Any help would be appreciated.
I am using apex scheduler class and apex batch class, I want to know that when i run apex batch class or Scheduler class then it will count against the salesforce daily api limit or not? Any help would be appreciated.
Thanks in advance.
Thanks in advance.
You may attempt to use the following code sample to avoid encountering this limit, particularly if the batch is executed in a scheduled class.
Note: You can have more than 5 scheduled classes that will call Database.executeBatch() in a Queued status
Please mark it as best answer if the information is informative.
BestRegards
RahulKumar
Thanks for your quick reply.
Let me check your given steps, but I want to know , is there any document from salesforce where this is mention that execut() of scheduler class and apex batch class count against "salesforce daily api limit".
May I request you to please check salesforce help document provided below.
- https://help.salesforce.com/articleView?id=How-to-avoid-hitting-the-concurrent-Batch-Apex-limit-with-error-Attempted-to-schedule-too-many-concurrent-batch-jobs-in-this-org&language=en_US&type=1
I hope it will be helpful.Please mark it as best Answer if the information is informative.
BestRegards
RahulKumar