In my Android app, I have a Firebase Cloud Function that gets triggered every day at 12:00 AM.
This is the code:
exports.dailyReset = functions.pubsub.