deleted script keeps running

2019-01-29 13:49发布

问题:

I have created a google script that should have sent me an email, instead it is now sending me emails continiously.

There was an infinite loop in the script and I could not stop it. I have tried to delete the script, this did not work. I have tried to delete the spreadsheed containing the script, this did not work.

Can anyone help? Is there a way to view running scripts somewhere? (and stop them)

kind regards,

回答1:

How was your script invoked - through the script editor or through a trigger ? In either case, the script will time out after about 5 minutes. If it was run through a trigger, then deleting the trigger should stop the mails from coming



回答2:

The script eventually stopped after sending me 1500 emails. I think that is a daily limit of some kind for my business.

Lessons I have learnt from this are: always check your loops and never ever use your own e-mailadres =)