I know it is possible to create a trigger:
function testTriggers()
{
var now = new Date();
now.setMinutes(now.getMinutes() + 1);
ScriptApp.newTrigger("bingo").timeBased().at(now).create();
}
And once the trigger runs, it will be marked as Disabled
.
I know you can get all triggers:
ScriptApp.getProjectTriggers()
But I can't find a way to identify which triggers are disabled so I can delete just those triggers.
I need to find the disabled triggers so I can then create more triggers.