I'm not sure I understand fully, but it sounds like you want the controller
to run automatically, without a request from a Web client? In that case,
you should create a command-line script and call it with crond. Of course,
you'll need command-line access to the server.
Here's a discussion about it:
http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line
For more about cron jobs:
http://www.adminschoice.com/docs/crontab.htm
On Fri, Jan 16, 2009 at 8:14 PM, nhtechip wrote:
>
>
> I want to build 1 controller running (5 minutes to run 1 times).
>
> Examples: 5 minutes I will write log files 1 times and backup
> database.
> Controller will run without calling anyone.
> So I have to write how.
> Thanks
>
> >
>
--~--~-~--~~~---~--~~
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
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---