blairkutz / gmail-delay-send

Automatically exported from code.google.com/p/gmail-delay-send
8 stars 2 forks source link

Working fine for months, then suddenly apps-script quota error #209

Open chiriones opened 8 years ago

chiriones commented 8 years ago

Hi Blair,

First of all I would like to thank you for an extremely useful piece of software. I have been using it to manage email reminders for a volunteer group.

I downloaded and installed gmail-delay-send on my account about 3-4 months ago. The number of emails I send using the script is usually 3 and this happens very infrequently, a few times per month, maybe 1-4 times depending on our the volunteer group calendar. The emails usually have 2 recipients and 2 bcc recipients.

I have the script trigger set for the default of 5 minutes.

Yesterday I sent out 3 emails using the script, all at 6pm.

At 12:29am I received an automated email from apps-scripts-notifications@google.com. There were 11 counts of the error "Service using too much computer time for one day." The trigger for each error is labeled as "time based" on the error chart in the email. The times that the errors occurred were 4:10am, 5:10am, 6:10am, 6:55am, 7:20am, 7:55am, 8:30am, 9:00am, 9:05am, 9:30am, 9:50am.

The timing of these errors seems weird to me as if the quota reset at 10am. It's also weird that the intervals of the errors is irregular. It makes more sense that there would have been an error every 5 minutes until the quota reset for the day.

I hunted around for some info about quota errors and there are others who had had an apps script suddenly produce quota errors after it had been running fine for a while: http://code.google.com/p/google-apps-script-issues/issues/detail?id=1922

I want to be sure that gmail-delay-send is always available and working correctly, so I'd like to correct this.

Any ideas?

Thank you.

jumblies commented 7 years ago

I started having this too. In december 2016 google reduced the quotas so triggers can only run 20x day for free users.