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.

Ajai Khattri said:
> Raven wrote:
>
>> Because I thought you couldn't change the runtime anytime you like using cron  to do
>> this...
>
> Sure you can: crontab -e -u user
>
> --
> Aj.
> Systems Administrator / Developer
>
>


-- 
*****************************************************
T.J. Drennan
Software Engineer, Wireless Systems
   Spectrum Signal Processing
[EMAIL PROTECTED]
*****************************************************



Reply via email to