taieb
June 28, 2018, 6:50am
1
I want to know if there’s a way to insert Data in database in a specific moment,
Exemple:
I want to send a text to the Database in 3 hours => As soon as i click on my button in my client side i want the document to be created in 3 hours.
Is it possible to do something like this ?
bradzo
June 28, 2018, 8:29am
2
Hi taieb
You could use Max’s “Steve Jobs” jobs package - from the intro:
“The Steve Jobs package takes the next leap forward by letting your application run in future-time!”
[image]
Steve Jobs
“It Just Works”
Version 3.0 • See on GitHub • See on Atmosphere • Read Documentation • MIT License
Meteor evolved application development by going from past-time to real-time. The Steve Jobs package takes the next leap forward by letting your application run in future-time!
The Steve Jobs package allows you to schedule tasks for a future date, in a way that is friendly to the Meteor framework and developer. It comes with a wide set of tools to help you get creati…
So you could call a Meteor method that sets up a job - and when the time arrives, your document will be inserted.
1 Like