Great idea, thanks! :)
On Thursday 07. November 2002 22:23, T.J. Drennan wrote: > And if you wanted to have different events triggered at different timings > you could do something as follows: > > - Web App puts information about message and interval in a DB > - Cron runs a script (every 5/15/60 minutes depending on minimum interval > size) which reads the DB and if the interval matches the current time it > could send the message out. > > I've done this a number of time in applications that sent info out at > strange times (calendar/event notification applications, etc). > > The advantage to this is you don't have to modify the crontab for each > change. You just add/remove/modify the database. > > -T.J. >
