What is a time-driven trigger?

A time-driven trigger (clock trigger) runs an Apps Script function on a schedule you choose, such as every hour or every Monday at 8 a.m. It works even when the spreadsheet is closed, subject to Apps Script quotas.

When to use it

Use time-driven triggers for digest emails, nightly backups, reminder rows, and scheduled API syncs.

When to skip it

Skip clock triggers for sub-minute reactions; use onEdit or external streaming instead.

How it works

  1. 1

    Write a function that completes within execution time limits.

  2. 2

    Add trigger > Time-driven.

  3. 3

    Pick interval or daily timer.

  4. 4

    Authorize services used.

  5. 5

    Log last run time on a Settings tab.

  6. 6

    Monitor Executions for failures.

Examples in Google Sheets

Weekly summary

Every Monday trigger emails open tasks from a Tasks sheet.

Build this without starting from a blank cell

Use a Better Sheets tool for time-driven trigger, then watch a walkthrough when you want the full pattern.

Better Sheets resources

Common mistakes

  • 1-minute trigger for work that only needs daily cadence.
  • No logging so silent failures go unnoticed.
  • Assuming trigger runs in your timezone without checking Apps Script clock settings.

Frequently asked questions

Time-driven vs Zapier schedule?
Time-driven runs inside Apps Script quotas. Zapier bills per task and connects many apps.
Sheet closed?
Clock triggers can still run without the UI open.

Related Tutorials

Watch how time-driven trigger works

Browse more tutorials
What Can You Automate in Google Sheets? Every single trigger available to Google Sheet users

What Can You Automate in Google Sheets? Every single trigger available to Google Sheet users

Learn about triggers, hourly, daily, weekly, etc.
Now Do It Every Damn Day - Learn to Code in Google Sheets Part 5

Now Do It Every Damn Day - Learn to Code in Google Sheets Part 5

Now that we have a script that we wanna run every day, how do we run thi...
Automatic Weekly Backup of Google Sheets

Automatic Weekly Backup of Google Sheets

Discover how to Save Your Sheets Every Week Automatically
Learn to Code in Google Sheets, For Programmers

Learn to Code in Google Sheets, For Programmers

Google Sheets uses a scripting language called Google Apps Script, which...
Uncheck Every Checkbox in Google Sheets

Uncheck Every Checkbox in Google Sheets

Automatically uncheck a whole range of checkboxes. Or just do it yoursel...
Every Google Drive File Created in Last 24 Hours

Every Google Drive File Created in Last 24 Hours

Create a simple report in a Google Sheet that documents every file in yo...

Related blog posts

Guides that explain time-driven trigger in more depth.

Browse the blog

Related glossary terms

Done reading about time-driven trigger?

Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.