在Firebase中安排作业

编程入门 行业动态 更新时间:2024-10-27 10:22:23
本文介绍了在Firebase中安排作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我假设某人现在已经保留了4:30,并且想要将其保存到服务器并在4:30从服务器通知服务器.

我不想使用智能手机内置的警报系统.

我还观看了YouTube上的Firebase云功能讲座并实施了这些讲座.而且我还看到了CronJobs,它可以按时报警进入URL并执行功能.我必须为用户设置时间并向每个人发出警报.

解决方案

目前尚无直接方法,但是您可以继续创建自定义计划程序以解决此问题.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 YouTube 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:

angularfirebase/lessons/scheduled-tasks-and-cron-jobs-with-firebase/

更多推荐

在Firebase中安排作业

本文发布于:2023-11-24 08:43:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1624513.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:作业   Firebase

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!