It sounds like he wants a scheduler to be able to execute some arbitrary thing (send an email) at a particular time.
As a fellow Cake newbie, I myself have been wondering whether this is possible. With a web application server like Tomcat, you could just have an extra thread which runs the scheduler and executes code in new threads at whatever time. But my guess is that since we're running Apache for Cake, we don't have that extra kind of capability? Cron jobs are probably the only way to go about it? On Nov 4, 5:58 pm, cricket <[email protected]> wrote: > On Wed, Nov 3, 2010 at 11:52 PM, Jerin K Alexander > > <[email protected]> wrote: > > No, i need not detect the offline users. in this ,i am creating an > > event (with some conditions)and it set to a particular time . It will > > execute at that particular time when the conditions are true at that > > time. Means it will an insertion,or deletion, whatever may be.. so at > > that particular time may be their is no users at online(may be). So i > > need to send a mail to administrator about this. so please help.. > > You could create a cron job. > > But you still seem to be saying that you want to test whether there > are any users online. And, if there was an insert/delete, wouldn't > that suggest that at least one user was online? > > Maybe it would help if you explained further about what you are trying > to achieve. 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
