Sending out notification email to user on user-defined date in php
<p>I am making a feature on my website that allows the user to enter a task they need to finish by a certain date. The website will then notify them by email when it gets near the date, defined by the user (1 day before due date, 2 hours before due date and so on..) I am totally new to notifications and am unsure how to ask this question but here it is in an example of what I want done... </p>

<p><strong>In an example:</strong></p>

<ol>
<li>The user types in "Need to call boss." </li>
<li>The user enters in the date selector, May 31st at 11:00 AM. </li>
<li>And then clicks the "Notify me 1 day before"</li>
<li>They enter their email and click submit. </li>
</ol>

<p>My website will then notify them by email on May 30th at 11:00 AM reminding them to call their boss... </p>

<p>I have looked around and have noticed somethings pointing to CRON jobs.. I looked at that and am unsure if that is the way to go... </p>

<p>Thanks for the time!</p>
