Welcome Guest, Not a member yet? Register   Sign In
two diffrent cron jobs
#1

[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

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




Theme © iAndrew 2016 - Forum software by © MyBB