In google apps script, I want to write a trigger that fires everyday starting at say 8:57AM till 6:57PM. And it fires every hour. Via the Resources->Current Project triggers, I can set it up to fire hourly and write logic in the firing function to ignore if current time is not in range. But that way I can not force it to fire at 57th minute every hour.
I have seen programmatic triggers here
But that link does not clarify on how do we combine conditions(e.g. trigger hourly starting at nearest 8:57AM). I think we can cascade conditions like:
ScriptApp.newTrigger('authorizeToTrello').timeBased().everyHours(1).atDate(somedate);
I am not sure if such cascading leads to "AND" or an "OR" condition.