CodeIgniter cron Falis in getting values |
[eluser]saidai jagan[/eluser]
There is a problem while running the function through cron. If I run the function manually in browser as www.mydomain.com/cron/getvalues/ it returns 500 rows, but while running through cron system (Through machine) as 40 15 * * * /bin/usr/lynx/ www.mydomain.com/cron/getvalues/ it returns only 80 records. wat is the problem ???
[eluser]GSV Sleeper Service[/eluser]
when you load that page in your browser it will be routed through index.php, calling a controller directly via cron is not going to do that, in fact I'm surprised it worked at all. maybe you should be calling it using Code: 40 15 * * * /bin/usr/lynx/www.mydomain.com/index.php/cron/getvalues/
[eluser]saidai jagan[/eluser]
u r right . i m sorry i didnt posted the content correctly. 40 15 * * * /bin/usr/lynx/www.mydomain.com/index.php/cron/getvalues/ This way i run the cron through system but still it does'nt getting more values |
Welcome Guest, Not a member yet? Register Sign In |