I have a question regarding Execution Governors and Limits for daily maximum number of asynchronous Apex method executions. In the Salesforce documantation it is written, that the maximum number of asynchronous Apex method executions (batch Apex, future methods, Queueable Apex, and scheduled Apex) per a 24-hour period is 250,000 or the number of user licenses in your org multiplied by 200, whichever is greater.

I'm not sure if this question has been already asked in the community, but if anyone know what is meant by "24-hour period"? How it's calculated? It is depending on your org default Time Zone? Is it fixed( i.e. between 9:30 time on 29 of March and 9:30 time on the 30 of March or is it between 00 o'clock time on 29 of March - 9:30 time on the 30 of March. ) or is a sliding window/rolling period, like is explained in this post? Could you please give more information on this topic?


It's a rolling window. The start of the range is the same as what you would get from Datetime.now().addHours(-24).

  • Could you please explain me how it's exactly sliding window? Have ever tested it? Because, when I tried to test it didn't returned the expected results if it is rolling window. Every day it reset the limits around the same time and this behavior have confused me. – R.Paunova Apr 2 '18 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.