Welcome Guest, Not a member yet? Register   Sign In
Calling Controller with Cron Job
#1

[eluser]bazianm[/eluser]
Hi,

I have to run a procedure once a day to send out emails to subscribed users. The application is written using CodeIgniter. Since this is a timed event, I was thinking I need to use a cron job to do it.

I have done some research and it seems like the general advice is to use wget in the cron job with a URL calling the job.

My questions: The application has security and I want to ensure that only the cron job can call the controller, not a user with a browser. Any ideas how I can accomplish this? Or, is there a better way to approach this in general?

Thanks in advance.


Messages In This Thread
Calling Controller with Cron Job - by El Forum - 07-02-2013, 09:31 AM
Calling Controller with Cron Job - by El Forum - 07-02-2013, 01:36 PM
Calling Controller with Cron Job - by El Forum - 07-02-2013, 08:31 PM
Calling Controller with Cron Job - by El Forum - 07-02-2013, 08:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB