Search code examples
phpmysqldatabasetaskschedule

Test database every morning


I made a platform to remind me of some things I haven't done. I've stored this reminds into a database and now I want this PHP based Website to send me emails. I want to make tests to the database every morning and if I found records that are critical to send notifications to my email. How can I do this ? Thank you :)


Solution

  • You have to implement cron job for this. For more details about cron job visit following URL:- https://stackoverflow.com/a/30872993/2706551