Welcome Guest, Not a member yet? Register   Sign In
howto cron with sesseion
#1

[eluser]vile[/eluser]
hi!
do you have any idea how to run cron job in CI?

im also wonderinf if i can user the controller. the default controller cannot be used without setting the session first. any other way to solve this problem thanks,
#2

[eluser]Mirage[/eluser]
Not sure if I understand the question correctly but if you want to periodically execute a specific CI controller then my approach is to add an entry to the crontab which executes curl with the appropriate URL.




Theme © iAndrew 2016 - Forum software by © MyBB