I'm not sure of a cake way, but for things like this I prefer to create a php script intended for running on CLI and using cron to run it at a given interval.
Or create an action in one of your controllers and request that page. I've done this but it seems pretty insecure so setup I some variables that needed to be meet IE: i would request /automate/action_to_run/ 1/2/3 then my actions logic would check that var1 + var2 = var3 or some other obfuscated method On Oct 19, 11:45 pm, jerin k <[email protected]> wrote: > My objective is to run a function every seconds. And check some time > based functionality. For example, In my application I have five groups > of users. Each of the users have a particular task. And allotted a > particular period of time. The task firstly assigned to the lower > level(ie, 5th level) Users. If that users couldnot able to clear the > task with the allotted time, it will automatically reassign to the > next higher level of users(here 4 th level). My table structure is > Users-> name,allotted time Tasks->task title,task description. If > anybody know the solution, please help me. > > Thanks in advance. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en
