So i have a database column called Expiry_date . When the expiry date is less than a month from now i need to send an Email. But i'm not sure how to handle that. Do i need to create a event to listen for that? I never really worked with events so not really sure where to start.
I'm not asking for code, just some quick tips where i should look for information about this or which videos to watch on this kind of subject
You can use events indeed that are triggered by a job-scheduler (see cron).
cron is a job-scheduler that will launch regularly a script (an event maybe in your case) that you have defined, at a time you define, like everyday at midnight for example.