Firebase scheduler, service workers Functions push notifications

389 views
Skip to first unread message

Lx8 Co

unread,
Mar 16, 2017, 12:04:12 AM3/16/17
to Firebase Google Group
We are building a scheduler on Firebase with push notifications that will send a notification to a client 1 hour before an event. 

Anyone has an idea on how could we do it on Firebase, is it possible to use functions, service worker without any cron job?


Thanks!

Clark

unread,
Mar 16, 2017, 11:04:50 AM3/16/17
to Firebase Google Group

I am also doing something very similar and I don't really know how to approach it at all. 

I basically need to say "Hit me with an Event on 23rd December at 11am".  I know this is not trivial. 

1. I considered the Google Calendar API but I struggle a bit with googles api and with a service account I couldn't find a great deal of information.
2. I looked at Firebase Functions, and like the entire Google Cloud Website, I have no idea what anything means or how it is relevant to me.  
3. I looked at `npm Agenda` and similar but then I was going down the road of needing Redis or Mongo which seems a whole new hassle. 
4. I also thought of cron, it just seems a little strange to use cron for a booking system, but since I have no experience in this, perhaps that is exactly what they are used for!

I hope we can get some insight. 

David DeRemer

unread,
Jul 4, 2017, 2:28:24 PM7/4/17
to Firebase Google Group
Reply all
Reply to author
Forward
0 new messages