0

I'm currently developing an android app using Firebase as the backend. assume the following path.

path(techhalls\blocks\I\405\booked) this path results in "booked:true"

Now I want to change its value to false at 12 A.M everyday i.e., booked:true should change to booked:false at 12 A.M

I'm clueless here. Could any anyone help me?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
samzz
  • 117
  • 1
  • 3
  • See https://cloud.google.com/appengine/docs/flexible/java/scheduling-jobs-with-cron-yaml if you are using flexible environment or https://cloud.google.com/appengine/docs/java/config/cronref if you are using standard – Linxy Feb 11 '17 at 07:50
  • There is no way to schedule such automatic changes to run on the Firebase servers at the moment. This means that you will have to run a process on a server that you control to run the change. See these previous answer http://stackoverflow.com/a/28508549, http://stackoverflow.com/a/38992583, http://stackoverflow.com/q/35360421 and the links that Linxy provided for solutions using App Engine. – Frank van Puffelen Feb 11 '17 at 15:51

0 Answers0