I am running this code in sequence editor o google sheet. I need the script to run seconds after the spreadsheet is modified. It works but it the delay function is not taking it. what is my error? thanks!!!
function myFunction(e) {
var url = 'https://exaple.com/?iwp=run&hash=abc123';
Utilities.sleep(10000);
var options = {
'method': 'get'
};
var response = UrlFetchApp.fetch(url, options);
Logger.log(response);
}