Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I stop an Apps Script from running?

I keep getting emails that say the following, line after line:

11/24/12 7:06 PM timeDriven Unable to find sheet: FormEmailer (line 656) time-based 11/24/12 7:06 PM

I want to stop these emails and apparently a script "Copy of FormEmailer" is running. I have deleted the worksheet that was using it, and I can't get it to stop running. I don't want these emails anymore and don't know how to stop it.

like image 741
user1853924 Avatar asked Nov 26 '12 16:11

user1853924


People also ask

How do I disable a Google App script?

You can turn off an individual Apps Script project by deleting its associated Cloud project. After you shut down a Cloud project, all executions of the script project stop.

How long can a Google Apps Script run?

A single execution of Apps script can last no longer than 6 minutes and you're hitting this limit.

How do I delete an app script?

Go to script.google.com . At the right of the project you want to delete, click More more_vert > Remove > Remove.


2 Answers

Basically a scheduled trigger is continuing to run.

Is there a link in the emails that lets you see all the Triggers? That should list the triggers and you should be able to delete them there. I haven't seen one in a while and forget all the details.

If not, then the more manual way to do it is -

  1. Go to http://script.google.com
  2. Click on Start Scripting button
  3. Pick the Blank Project template
  4. In the editor menu, go to Resources -> All Your Triggers
  5. There should see "timeDriven" and you should be able to delete it.

Hope that helps.

like image 63
Arun Nagarajan Avatar answered Oct 01 '22 18:10

Arun Nagarajan


View -> Executions
Then mouse over the running task, click the triple dot and click 'Terminate'.

like image 40
0x777C Avatar answered Oct 01 '22 16:10

0x777C