Which would you go for? Spring boot cron job,scheduled tasks vs Events in Mysql.
I was recently studying about using cron jobs in spring boot for a particular use case for my small side project. I ended up not using the cron job but rather went the SQL way(will explain this in detail below). However,in the process I learnt a lot about cron jobs and scheduling in spring boot so this is just a small article about my learnings. But first I shall tell you a little about my use case and why I thought about cron jobs in the first place…....