Question

I have ScriptA with some functions in files that have triggers that all run under UserA and consume about 2 hours of runtime per day.

I have another project ScriptB with some other functions in other files that have triggers that all run under UserA (the same user as ScriptB users) and consume about 3 hours of runtime per day.

Is my Trigger Aggregate Execution Time quota (from quota page here) aggregated per user or per script? That is, is it:

  1. Five hours (2 + 3) for UserA or is it
  2. Two hours for ScriptA and 3hrs for ScriptB?

I have seen this answer but it doesn't explicitly address the scoping question I'm asking.

Was it helpful?

Solution 2

In the interests of getting some evidence together for this:

At 4m25 in this March 2013 episode of Google Apps Unscripted, Kalyan Reddy says that the quotas are "per account type" and as you can see in the dashboard, the Quota table is gridded and has columns labelled with those account types too.

I have also done some testing and made a script that uses quite a bit of time. It started to max out other scripts running under the same account and many of that account's triggered scripts started to get errors "Service using too much computer time for one day". But... interestingly, after a couple of days of those errors have subsided. I believe on a consumer account I am now getting way more execution time than 1 hr per day.

While not a direct answer to the question and still a leap of logic/assumption, these two things make me feel that "per account" is more likely to be correct than "per script". I'll keep the question open for a bit longer for any comments (esp Googlers).

OTHER TIPS

Obviously is per user not ler script. Otherwise quotas wouldnt make sense.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top