Ok, so I see a few odd things going on here.

First, you say it's a cron job, but you are using a controller? Shouldn't 
you be using a Shell?

Second, set() is not a global function, it should be $this->set(). It's a 
method of the Controller class.

What fields does the table require... have you tried simply inserting a 
record by hand with the data you are trying to pass in?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to