I have set up a Cloud Scheduler which invokes a cloud function every 15 minutes. How would I be able to disable the Cloud Scheduler from 8 am to 10 am for example?
*/15 0-7,10-23 * * *
this schedule should do what you want.
The event will fire on 0th, 15th, 30th and 45th minute of hours 0-7 and 10-23, each DOM, each month, each DOW.
per
[1] Configuring cron job schedules
[2] crontab(5) — Linux manual page
[3] crontab.guru