Skip to content

Commit

Permalink
Fix Error: Service using too much computer time for one day
Browse files Browse the repository at this point in the history
Fixing gmail issue with scripts using more resources. Must be a recent limit reduction from Gmail as this was working for a few years without issues.
  • Loading branch information
webdigi committed Jul 25, 2016
1 parent 02f2ca2 commit 077cb35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Triggers.gs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ function createTriggers() {
.everyMinutes(1)
.create();

/*
//COMMENTING OUT SMS TRIGGER WITH USER REPORTED ISSUES OF GMAIL LIMITS #31
var smsTrigger = ScriptApp.newTrigger("processSms")
.timeBased()
.everyMinutes(1)
.create();
*/
}

function deleteTriggers() {
Expand Down

2 comments on commit 077cb35

@bacizone
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately these message are keep coming every day, it is annoying!

Also in contains the message: "Your script, Gmail Scheduler, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here."

When I click the "click here" link, it gives a 403 error!

@webdigi
Copy link
Owner Author

@webdigi webdigi commented on 077cb35 Aug 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timers are increased further to reduce the load on Google app scripts. Please uninstall and install app to check if it works.

Please sign in to comment.