0

For example, I want to make a backup of my database on firebase every night at 0:00, is there any way in firebase to schedule events? And I do not mean to execute a task when an event occurs in some node. I mean changing the value of an attribute when it reaches a certain date, to give another example.

DavidMB
  • 45
  • 5
  • As of 2019, what OP asked is possible with Cloud Functions Scheduling. https://firebase.googleblog.com/2019/04/schedule-cloud-functions-firebase-cron.html – user482594 Dec 11 '19 at 22:37

1 Answers1

1

You can create an http trigger function in Cloud Functions and call that function on a specific schedule using a third-party Cron job.

This is the way advised by the Firebase team, as you can see in this functions-samples sample.

For more reference.

creativecreatorormaybenot
  • 114,516
  • 58
  • 291
  • 402