I'm trying to build an angular2 application using mean stack architecture,I got a field Remaining days in my database mongodb,I want that field decrement 1 every day. Is that possible?
Asked
Active
Viewed 140 times
1 Answers
0
Please check this stackoverflow link :
Event scheduler (cronjob) in MongoDB?
You might have to write an external job scheduler and update the field in mongodb.