Hello all,

i have an error using Cron and CakePHP...**
****
I have defined a cron_dispatcher.php file in my app/webroot/ (cf. 
http://www.lost-in-code.com/27/cakephp-crontab/ and 
http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line)
 but I have an issue and I don't understand why.

My command in my cron file is :


/usr/local/bin/php -q 
/home/lifeorganizers/www/taskmanager/app/webroot/cron_dispatcher.php 
/tasks/cron/

And i receive an error email from Cron which contains :

PHP Fatal error: Cannot redeclare loadmodels() (previously declared 
in /home/lifeorganizers/www/taskmanager/cake/basics.php:113) in 
/home/lifeorganizers/www/taskmanager/cake/basics.php on line 142

Fatal error: Cannot redeclare loadmodels() (previously declared in 
/home/lifeorganizers/www/taskmanager/cake/basics.php:113) in 
/home/lifeorganizers/www/taskmanager/cake/basics.php on line 142

If someone has an idea, it would be great ?!

Thanks for your help.
-- 
 *Pierre MARCOURT*      
         
*IT Department*         
        *CableOrganizer.com*
5610 NW 12th Ave, suite 214
Fort Lauderdale, FL 33304
 

        
        Phone: 954-861-6310
Fax: 954-861-2001


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to