I have an array of reminders stored in the MongoDB. I have implemented a schedular function to run every midnight and send reminder emails for every entity stored. There can be multiple users in a single reminder. When the schedule function executed, it runs only for one reminder and rest of the reminders are not executed. I am using For loop to traverse through each but no luck.
via Suyog Patil
No comments:
Post a Comment