A cronjob would be your simplest approach as it already handles the
re-occurring scheduling for you. No point reinventing the wheel!

On Wed, Aug 5, 2009 at 5:10 PM, DigitalDude <[email protected]>wrote:

>
> Hey,
>
> I was wondering if there's any possibility to send notification-emails
> automatically? I do NOT mean emails which are send when a post gets a
> comment or sth like that, I mean when you for example have an
> appointment on Aug. 27th which is stored in the database, I want the
> SYSTEM to send a notification email maybe one week before that day.
>
> I could write a check routine when the user loggs into the system
> which sends all relevant emails, but this would mean the user has to
> login and sometimes a user won't use the system for maybe 2 or 3
> weeks.
>
> What do I do if I want to call a function EVERY DAY at the SAME time?
> Do I really have to write a cronjob for this purpose?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to