Cloud Functions for Firebase trigger on time?

前端 未结 2 1122
死守一世寂寞
死守一世寂寞 2020-11-21 05:55

I am looking for a way to schedule Cloud Functions for Firebase or in other words trigger them on a specific time.

2条回答
  •  余生分开走
    2020-11-21 06:22

    What you can do, is spin up an AppEngine instance that is triggered by cron job and emits to PubSub. I wrote a blog post specifically on that, you might want to take a look:

    https://mhaligowski.github.io/blog/2017/05/25/scheduled-cloud-function-execution.html

提交回复
热议问题