When a new record is added in Firestore it will hit the create event and send the notification. I want to send that notification after 30 mins of creation.
Asked
Active
Viewed 16 times
0
-
what about node-cron? – omurbek Dec 05 '18 at 10:53
-
I want to use cron jobs but not sure how to use it. Anytime a new record can be created and after 30 min of creation I have to send it. – Mannu Dec 05 '18 at 10:57
-
https://medium.com/@earlg3/google-cloud-functions-scheduled-trigger-915b5fb8310f – omurbek Dec 05 '18 at 10:59
-
Also try this https://github.com/FirebaseExtended/functions-cron – omurbek Dec 05 '18 at 11:00
-
and https://github.com/OptimalBits/bull – omurbek Dec 05 '18 at 11:02