We are working on automatic mail now. I am trying to implement automatic mail using cron. How do I call cron from the controller??
exec("0 * * *, php installation path php, public_html/index.php SendMail autoMail")
I called it because I was told to call it like this, but it doesn't work.
I want to control automatic mail by creating, modifying, and deleting cron in the controller.