When does Google Apps Script reset the daily quota?

Viewed 48

Daily quotas for Google services are described here. For example 100 email recipients per day. How is "day" defined when evaluating the quota? Does the quota get reset when it's midnight in my time zone? Or in Greenwich? Or do they count the statistics of the past 24 hours with a sliding time window?

3 Answers

This is a really good question!

Based on my experience the Quota reset for certain quotas is reset within 24 hours right after the last run of your script.

Moreover, you need to keep in mind that if you have a trial Google Workspace (After you convert from a free trial account to a paid subscription) this means that you need to:

1-Your domain has cumulatively paid at least USD $100 (or equivalent).

2-At least 60 days have passed since reaching that payment threshold.

The answer you are looking for is currently written here in this reference article:

Limits per day are applied over a rolling 24-hour period, not a set time of day.

So basically, quota limits are restored over a set of 1-24 hours starting from the recent period that it was depleted.

And, aside from that, these quota limits are not subject only to App Script, rather than the service quota it uses by their Google Service is all used by their designated quota reserve as explained here:

Note: In addition to the Apps Script quotas, some features have quotas created by the Google product they're associated with. A use of a product feature in Apps Script depletes all associated quota reserves. A feature becomes unavailable if any of the associated quotas are reached.

Side note:

As mentioned by CizRanger, the two conditions below are the requirements needed for you to increase your quota limits if you are using a Google Workspace account:

  • Your domain has cumulatively paid at least USD 100 (or equivalent)

  • At least 60 days have passed since reaching that payment threshold

Related