Welcome Guest, Not a member yet? Register   Sign In
codeigniter and cron jobs
#1

[eluser]dadamssg[/eluser]
Can you point to a controller for a cron job? My understanding is that if you point to a single script you cannot define $_GET parameters. So the following wouldn't work if it script used the password parameter to function. (projectX doesn't use codeigniter while projectY does)

Quote:http://localhost:8888/projectX/cron_job....rd=WdkjDkc

If that's true, then can you use parameters in the uri if using codeigniter?

could i point the cron to the following?

Quote:http://localhost:8888/projectY/Aconrtoll...ob/WdkjDkc

where Acontroller is the controller in codeigniter, cron_job is the function inside that controller, and "WdkjDkc" is an additional uri parameter?




Theme © iAndrew 2016 - Forum software by © MyBB