Run a cron job only once after a set time
问题 I need to run a cron job to perform a specific cloud function after a set interval only once but a bit unsure of how to do it. Is there any way to do this through the current google cloud platform? 回答1: Update following our discussion below through comments: If you want to "change a document in your Firestore database 2 hours after it has been created" you could do as follows: When creating the document in Firestore, save the date/time of creation, e.g. with firebase.firestore.FieldValue