[eluser]acesfull9[/eluser]
So I want to make a script that runs overnight and sends emails for my codeigniter application. I was wondering what is the best way to approach this while being able to take advantage of the code igniter libraries that may be useful.
1. I could write it as a controller and just request the url of that controller every night.
With that, I am not sure about request timing out or someone accessing the controller who is not the overnight batch job.
Is there anyway to call a codeigniter controller or some other class from the command line. Any suggestions of the best way to approach this would be greatly appreciated, thanks!