You need to sign in to do that
Don't have an account?
MJ Kahn / OpFocus
Limit on the number of scheduled jobs
The Apex Language Reference says the "Total number of classes that can be scheduled concurrently" is 25.
The wording is a little difficult to parse. Which of the following (if any) does this mean?
- I can have at most 25 Schedulable Apex jobs scheduled, even if they're scheduled to run at a wide variety of times that don't overlap
- I can have at most 25 Schedulable Apex jobs actually running at any one point in time,
Thanks!
You can only have 25 classes scheduled and running at one time. You can evaluate your current count by viewing the Scheduled Jobs page in Salesforce or programmatically using the Force.com Web services API to query the CronTrigger object.
So you're saying I could have 20 scheduled jobs that run in the morning, and 20 more that run in the evening, and that's not a problem?
My question boils down to whether the limit is on the number of jobs that can be scheduled or on the number of scheduled jobs that can running at any one point in time.
Thanks.
you can schedule upto 25 classes and those can run in parallel at a given time.