Well I've converted the class into a component and got it talking to the database fine using a model but it doesn't look like it's going to be so easy getting cron to work.
I tried executing the class from the command line, which is what cron would do, and got the error: PHP Fatal error: Class mailsystemcomponent: Cannot inherit from undefined class object in .......\app\controllers\components\mail_system.php on line 13 So the problem is when calling components from cron it doesn't know where the CakePHP classes required by the component are. Hopefully it's just a case of changing the include paths in the PHP script. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
