Created
April 6, 2016 01:05
-
-
Save Diana-Pham/0a27ee273eb9e3cf5e1ba7555dd0a052 to your computer and use it in GitHub Desktop.
Deletes all triggers in Script editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function deleteAllTriggers () | |
{ | |
// Deletes all triggers in the current project. | |
var triggers = ScriptApp.getProjectTriggers(); | |
for (var i = 0; i < triggers.length; i++) { | |
ScriptApp.deleteTrigger(triggers[i]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment