[英]Send schedule email in firebase cloud functions flutter
I have a system built in Flutter.我有一个内置于 Flutter 的系统。 When a user subscribes I want to
当用户订阅我想
1- My question is how to trigger the cloud schedule function 1-我的问题是如何触发云计划 function
You do not need to trigger them they will run automatically on given time period like cron您不需要触发它们,它们将在给定的时间段内自动运行,如 cron
exports.scheduledFunction = functions.pubsub.schedule('every 5 minutes').onRun((context) => {
console.log('This will be run every 5 minutes!');
return null;
});
https://firebase.google.com/docs/functions/schedule-functions https://firebase.google.com/docs/functions/schedule-functions
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.