I use a web-hosting startlogic.com. I asked an employee about cron. They told me that they only have a feature in the control panel called "Schedule jobs" where I can manually put the job.
But I need to do this from my web application. For example, when I push a button, I will receive an email notification after 1 month.
How to implement this using PHP?
I use a web-hosting startlogic.com. I asked an employee about cron. They told me
Share
Make a PHP script called cron.php (outside of your web root if possible).
Set this to run regularly under “Schedule Jobs”
Every time cron.php runs, it checks a database of jobs to see if any are due yet.
If any are due, they are run.
Once run, they are marked as such.
To add new jobs to the list, just add a new row to the database with the details of the job and the due date.