two diffrent cron jobs - 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: two diffrent cron jobs (/showthread.php?tid=9599) |
two diffrent cron jobs - El Forum - 07-01-2008 [eluser]PHPraja[/eluser] hi to set a cronjob i followed the method given in wiki as in http://codeigniter.com/wiki/Category:Advanced::CronScript/ As per the above link, there an example is given to set a cron jon. In clean_cache.php set Code: $_SERVER['PATH_INFO'] = '/cron/cleancache'; If i have two or more cron jobs to run at difftent times should i create more files like 'clean_cache.php' and set diffrent PATH_INFO ? ie specify the diffrent function names. Or is there any other way where i can set different cron jobs in a single clean_cache.php? Can any one help me.. Thanks in advance |