Should we use CRON job to schedule tasks for a Task Manager app

Viewed 16

everyone

I'm making a Task Manager app that has a feature to schedule tasks (every day, every hour, ...) Should I get the data from database (ex: * * * * *) when the server starts and set the job? (map every data and set). I was thinking of it, but I realized that I can't find the job via its ID and remove manually (at least, I know that I can do it by listening to the delete event with ID) Can I have other ways to do this? Or just that solution I said?

Thanks

0 Answers
Related