Firebase的云端函数能够及时触发? [英] Cloud Functions for Firebase trigger on time?
问题描述
我正在寻找一种方法来安排Firebase的云端功能,换句话说就是在特定的时间触发它们。
目前还没有内置的runat / cron类型的触发器。
目前,最好的选择是使用外部服务定期触发一个HTTP函数。请参阅函数样本库中的示例以获取更多信息。
我也极力推荐您在Firebase博客上阅读这篇文章:使用HTTP触发器和Cron为Firebase定时云端功能。
I am looking for a way to schedule Cloud Functions for Firebase or in other words trigger them on a specific time.
There is no built-in runat/cron type trigger yet.
For the moment, the best option is to use an external service to trigger a HTTP function periodically. See this sample in the functions-samples repo for more information.
I also highly recommend reading this post on the Firebase blog: How to Schedule (Cron) Jobs with Cloud Functions for Firebase and this video: Timing Cloud Functions for Firebase using an HTTP Trigger and Cron.
这篇关于Firebase的云端函数能够及时触发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!