![]() |
howto cron with sesseion - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: howto cron with sesseion (/showthread.php?tid=8142) |
howto cron with sesseion - El Forum - 05-07-2008 [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, howto cron with sesseion - El Forum - 05-07-2008 [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. |