Skip to content
Google Apps Script · error message

Apps Script: Service using too much computer time for one day

RetryableDaily and rate quotas

Last verified

The exact message
Service using too much computer time for one day.

What it means

Google's quotas page says this indicates that the script exceeded the total allowable execution time for one day, and that it most commonly occurs for scripts that run on a trigger, which have a lower daily limit than scripts executed manually.

The relevant quota is triggers total runtime: 90 minutes per day for consumer accounts and 6 hours per day for Google Workspace accounts. It sums the runtime of every triggered execution under your account. A five-minute job triggered every hour uses two hours a day on its own.

Like other daily quotas, it is per user and resets 24 hours after the first request. Until then, triggered executions keep failing even if each one is short.

What it looks like

Exception: Service using too much computer time for one day.

Why it happens

  • A time-driven trigger that runs frequently and takes minutes per run.
  • Several triggered scripts under the same account adding up.
  • A script that was fast with small data but slowed down as the sheet grew.
  • onFormSubmit or onChange installable triggers firing far more often than expected.

How to fix it

  1. Open the Executions page, filter by trigger, and sort by duration to see what is consuming time.
  2. Reduce trigger frequency, for example from every 5 minutes to hourly, if the data allows.
  3. Optimize the slowest functions with batched getValues and setValues and fetchAll.
  4. Make triggered jobs exit immediately when there is nothing new to process.
  5. Delete triggers left behind by old projects or add-ons you no longer use.

How to stop it recurring

Budget trigger runtime per day: run count multiplied by average duration must stay well under 90 minutes on a consumer account. Prefer event-driven triggers that fire only when something changes over frequent polling, and keep a short check at the start of each run so idle runs cost seconds, not minutes.

Official documentation: developers.google.com/apps-script/guides/services/quotas. See all Apps Script error messages or the Apps Script limits and quotas.

Related errors

Definitions

Quick answers

What does "Service using too much computer time for one day" mean in Apps Script?

Google's quotas page says this indicates that the script exceeded the total allowable execution time for one day, and that it most commonly occurs for scripts that run on a trigger, which have a lower daily limit than scripts executed manually. The relevant quota is triggers total runtime : 90 minutes per day for consumer accounts and 6 hours per day for Google Workspace accounts.

How do I fix "Service using too much computer time for one day"?

1. Open the Executions page, filter by trigger, and sort by duration to see what is consuming time. 2. Reduce trigger frequency, for example from every 5 minutes to hourly, if the data allows. 3. Optimize the slowest functions with batched getValues and setValues and fetchAll. 4. Make triggered jobs exit immediately when there is nothing new to process. 5. Delete triggers left behind by old projects or add-ons you no longer use.

Run the job somewhere with its own limits

If a script keeps hitting its host's quotas, an Autonoly workflow can run the same steps on a schedule in an isolated cloud container, and the AI agent has a terminal with Python for steps that need code. Autonoly has limits of its own, priced in credits.

Also see Agent terminal & SSH.