且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Firebase中安排作业

更新时间:2023-02-16 13:00:32

目前尚无直接方法,但是您可以继续创建自定义计划程序以解决此问题.Angularfirebase的人员在以下位置发布了一篇精彩的文章,其中包含逐步说明的内容:

I am assuming that someone has reserved 4:30 now and wants to save it to the server and notify the server from the server at 4:30.

I do not want to use the alarm system built into the smartphone.

I also watched Firebase cloud function lectures on *** and implemented them. And I've also seen CronJobs, which gets into the URL by alarm on time and executes the function. I have to set the time for the user and give an alarm to each individual.

There is no straight forward way of doing this, but you can go ahead and create a custom scheduler to work around it. A great article with step by step instructions was released by the angularfirebase people at:

https://angularfirebase.com/lessons/scheduled-tasks-and-cron-jobs-with-firebase/