Re: Dated/Timed actions
| From: | Lukas | Date: | Tue, 02 Oct 2001 09:09:58 +0000 |
| Subject: | Re: Dated/Timed actions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69558@lists.php.net to get a copy of this message | ||
Stephane,
One possibilety is to have a script which does the sending - checking
against a db to see what to send out, having it called periodically from a
cron job.
I have built a (very) simple little daemon for doing jobs like this, it
works similarly to cron except it is easier to programmaticly add and remove
jobs. It also works on a linear time idea, rather than periodic like cron,
so you can ask it to schedule a job a specific time offset from now, or at
an absolute time (like cron). This is part of a package i've been working on
for a while for defining & managing processes like you describe below.
Lukas
"Stephane Besnard" <stephane_besnard@hotmail.com> wrote in message
news:F12jK40qbX9qfQdOHjL0000dc25@hotmail.com...
> Hi,
>
> Does anybody know how to generate 'dated/timed actions' with PHP?
>
> By this I mean, for instance, automatically sending an email to a group of
> people when a specific date and time is reached: sending a happy birthday
> message to a users.
>
> Thanks,
> Stephane.
>
> _________________________________________________________________
> Téléchargez MSN Explorer gratuitement à l'adresse
> http://explorer.msn.fr/intl.asp
>