This is a sample script for executing a function with the minutes timer in the specific times using Google Apps Script. For example, when this sample script is used, the following situation can be achieved.
- Execute a function every 10 minutes only in 09:00 - 12:00 and 15:00 - 18:00 for the weekday.
When the above situation is shown as an image, it becomes as follows.