CI and cron - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CI and cron (/showthread.php?tid=41856) |
CI and cron - El Forum - 05-18-2011 [eluser]fajnalowiec[/eluser] I must write a cron script to use with my application. Doing it in CI would speed up the writing process. Is it a good (I mean mostly safe) idea to run this script in cron by using wget? Or maybe, there is other, better way? CI and cron - El Forum - 05-18-2011 [eluser]bubbafoley[/eluser] you can run CI directly as a cron job. http://ellislab.com/codeigniter/user-guide/general/cli.html although, there is a bug when running cli from cron. you'll probably need to apply this patch for now: https://bitbucket.org/ellislab/codeigniter-reactor/issue/274/codeigniter-cli |