One-time scheduled triggers
At the moment, MongoDb offers the ability to schedule triggers periodically using Cron Jobs. It would be really handy if a user could schedule a trigger to run only once and execute a function as my use-case requires.
1
vote
![](https://secure.gravatar.com/avatar/948e3bb37e066212c143ed9890ab83ce?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
AdminSumedha Mehta (Admin, MongoDB) commented
Hi there - have you considered using a Webhook (https://docs.mongodb.com/realm/services/configure/service-webhooks/) or one of our SDKs (https://docs.mongodb.com/realm/functions/call-a-function/#call-from-a-client-application)? Depending on where you're calling it from, one of these approaches will let you invoke a Realm function on a need-based basis.