I know this misses the point of using Cloud Functions in the first place, but in my specific case, I\'m using Cloud Functions because it\'s the only way I can bridge Next.js
You can trigger it via cron job as explained here: https://cloud.google.com/scheduler/docs/creating