If you want to schedule functions to run at specified times, use
functions.pubsub.schedule().onRun() This convenience method creates a
Google Cloud Pub/Sub topic and uses Google Cloud Scheduler to trigger
events on that topic, ensuring that your function runs on the desired
schedule.
# 1 楼答案
https://firebase.google.com/docs/functions/schedule-functions
# 2 楼答案
FCM现在提供定期消息。可能对某人有帮助
# 3 楼答案
带有Firebase通知的推送活动可以立即发送,也可以稍后发送(已计划)
您可能会切换到Firebase Cloud Messaging,使用他们的HTTP API,然后构建一个cron脚本,在这些天自动触发通知
或者改用更成熟的产品,比如Parse Server、Batch。com或其他任何东西,因为它们通常提供每日/每周/每月定期推送通知功能