How to create a new clock trigger on another document
问题 I have 30+ users each with their own spreadsheet. Each user's bound script references a custom library script that I use to keep my code centralized and easy to update. I'm trying to use apps script to create triggers that run a specific function at a specific time. However, I can't figure out how to specify which script document the clock trigger is installed on. Here's what I tried first: createTimeTrigger("sendTimesheetsToHeads",1440); function createTimeTrigger(functionToRun,minutesToWait