Apply an insert to a database in a specific date

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 ?

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!”

So you could call a Meteor method that sets up a job - and when the time arrives, your document will be inserted.

1 Like