Saturday 10 March 2018

Scheduler for Node JS and MongoDB

Hey guys so I have been researching about any good way to schedule an event that need to be fired at a particular date and time. So I have Contest Object in my MongoDB that has a start date and an endDate. Now is there any way I can schedule an event to get fired by my node js server when that date occurs. For example, I created a contest that has a start date of 18th March 9 AM. I want my node js server to fire up a particular event when that time occurs. Let me know if you guys need some more clarification as I am pretty confused as to how I do I store these event to fire up on that particular date and time. Any help is appreciated. Thanks!

Submitted March 11, 2018 at 02:47AM by schumiman

No comments:

Post a Comment