i have a MySQL table tasks.in tasks we can create a normal task or a recurring task that will automatically create a new tasks in the MySQL tasks table and send a email notification to the user that a task has been created. after lot of research i found out that you can do it in four methods
- MySQL events
- kue, bull, agenda(nodejs scheduling libraries)
- using cron job to monitor every day for tasks
the recurring tasks would be repeated over weekly, daily, monthly, yearly we must put an option to remove the recurring event at any time .so which would be nice and cleaner solution.
from creating recurring events in nodejs to update or insert MySQL table
No comments:
Post a Comment