Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8817623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:53:40+00:00 2026-06-14T04:53:40+00:00

I recently created a script associated with a spreadsheet. It is a wood supply

  • 0

I recently created a script associated with a spreadsheet. It is a wood supply chain simulation game score viewer. Basically, it fetch (with Urlfetch) the game database to keep track of scores for every team playing in tables and graphs. The spreadsheet is then shared to every team member, which can see the progression of the game.

So I used an installable onMinute time trigger to refresh the spreadsheet with updated score from the database. Everythings was working, but recently, I started to receive app-script-notifications of failure with error :

Service invoked too many times for one day: urlfetch.

I then realised that the installable triggers are executed when the documment is not open, which is totally logic. Also, since developpement mode, I had quite a lot of the spreadsheat copy (je comprend pas sa), which explains the reach of my quota. Altough, I only need to refresh the scores for my application when the document is open.

Here are my questions :

  1. Is the installable onMinute time trigger the right way to do that?
  2. Is there a way to make the trigger run only when the document is open?

This is my first question here so feel free to post useful comments to allow me to improve.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:53:41+00:00Added an answer on June 14, 2026 at 4:53 am

    Unless you can write code on the game side to push the changes to the spreadsheet, which would use less resource on both sides, a time-driven triggers seems like the only “automatic” way to go.

    I say automatic, because you could change it to “on-demand”. I mean, you could add a menu to your spreadsheet or an image (where you can assign to run a script on click), that will update the scores.

    This could also be semi-dynamic, for example, when the user clicks the button, you start to update the scores automatically (setting up the time-driven trigger programatically) for the next 30 minutes or so.

    Asking your question n.2: no, it is not possible. Well, only half-way. Because you can detect when the spreadsheet is opened (by setting a on-open trigger), but you can’t know when it is closed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently created my first bash script, and I am having problems perfecting it's
I recently made a Mootols script for my website. Using Fx.Morph, I succesfully created
Recently I've created a python script to retrieve data out from a log file
So i recently created PayPal IPN script, but while I was testing it with
Recently I created a script that accesses another script to run it. The only
Recently started working with pointers and have created a little script that is supposed
I recently created a new header file that I want to include in the
I recently created a advanced form with elements that use jquery's $().hide & $().show
I recently created my simple log4net database table for logging via the adonet appender..
I recently created a class which has a constructor taking 3 enumerations as arguments.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.