07-01-2008, 05:51 AM
[eluser]PHPraja[/eluser]
hi
to set a cronjob i followed the method given in wiki as in
http://codeigniter.com/wiki/Category:Adv...ronScript/
As per the above link, there an example is given to set a cron jon. In clean_cache.php set
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
hi
to set a cronjob i followed the method given in wiki as in
http://codeigniter.com/wiki/Category:Adv...ronScript/
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