Hi
I need to implement a module in my Cake application that runs at regular
intervals (say, every half hour) to do house keeping in the application
like sending out email reminders to users.
I expect that cron is the right way to trigger this module, but am
wondering if anyone has any suggestions as to where is the best place
for the code to be located?
Should I simply build another controller to take care of the tasks? Or
something entirely different...
I would welcome suggestion that anyone might have.
Regards,
Langdon
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.63.19 with SMTP id l19mr147876wra;
Sat, 20 May 2006 08:01:03 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from morpheus.kandos.infowrangler.com
(bus-210-211-81-180.nsw.veridas.net [210.211.81.180])
by mx.googlegroups.com with ESMTP id v23si401126cwb.2006.05.20.08.01.02;
Sat, 20 May 2006 08:01:03 -0700 (PDT)
Received-SPF: neutral (googlegroups.com: 210.211.81.180 is neither permitted
nor denied by best guess record for domain of [EMAIL PROTECTED])
Received: from [192.168.8.100] (unknown [192.168.8.100])
by morpheus.kandos.infowrangler.com (Postfix) with ESMTP id B5C28D8001
for <[email protected]>; Sun, 21 May 2006 00:09:24 +1000 (EST)
Message-ID: <[EMAIL PROTECTED]>
Disposition-Notification-To: Langdon Stevenson <[EMAIL PROTECTED]>
Date: Sun, 21 May 2006 00:10:40 +1000
From: Langdon Stevenson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: Linden Row Pty Ltd
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
Mime-Version: 1.0
Content-Type: text/plain
To: [email protected]
Subject: automation module
Hi
I need to implement a module in my Cake application that runs at regular
intervals (say, every half hour) to do house keeping in the application
like sending out email reminders to users.
I expect that cron is the right way to trigger this module, but am
wondering if anyone has any suggestions as to where is the best place
for the code to be located?
Should I simply build another controller to take care of the tasks? Or
something entirely different...
I would welcome suggestion that anyone might have.
Regards,
Langdon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---