r/GoogleAppsScript • • 7d ago

Unresolved Google Apps Script trigger frequency setting

Google Apps Script trigger frequency setting: Currently, I have hourly triggers set up for 15 functions, but running all of them every hour seems excessive, even though the 90-minute daily quota is still sufficient.

I'm wondering if there's a way to schedule them to run every two hours, specifically at even-numbered hours (e.g., 8 AM, 10 AM, noon, etc.), so the schedule won't be affected by daylight saving time changes.

Alternatively, I could keep hourly triggers but limit them to between 6 PM and midnight, since there's no need for these functions to run during the rest of the day.

I mean setting only, not the script to check hour.

Edit: I follow the comment and created a master trigger. Now I have new question https://www.reddit.com/r/GoogleAppsScript/comments/1xzjvlk/how_to_call_a_function_from_another_project_when/

0 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/DrMorris 7d ago

You can technically trigger scripts from other projects in one project using deployed web hook. But that's another level of complexity so it depends on your knowledge. You can basically add a doGet function in each project that triggers the scripts in it, and then deploy it and use the deployment address ti gtrigfer it from say Master Trigger script.

Only risk there is the query limit for urlFetch calls.