0

I have a Flutter mobile with Firebase in the backend. I would like to offer profile boosts to the clients where each user can purchase one or more boosts. When the user activates a boost, my system should boost user profile for exactly one hour.

My question is how do I trigger events after one hour from the time the boost has started. So if the boost started at 10:31, then an event should be triggered at 11:31 to stop the boost.

There will be lots of users and lots of boosts and those boosts need to be terminated at the correct time.

Aimn Blbol
  • 907
  • 11
  • 20
  • I marked this as a duplicate with the assumption that you want to continue using Firebase / GCP as a backend for your app. In practice, there are any number of ways to schedule work - too much to discuss in a single answer, but Cloud Functions can get you started with a solution. – Doug Stevenson Jan 01 '23 at 05:55

0 Answers0