[CentOS] Reactive systems -- was: Event scheduling

Fri Feb 16 17:24:09 UTC 2007
R P Herrold <herrold at owlriver.com>

On Fri, 16 Feb 2007, Frank M. Ramaekers wrote:

> Okay, I know about 'cron' and 'at', but how do you schedule jobs
> (scripts) based on events.
>
> For instance:  Run script xyz when file abcd.efg arrives via ftp?

Emit an event into a queue, and periodically wake up 
and harvest the queue --

ls and diff can detect newly present files

so can find

procmail can trivially detect and fire off email related 
enqueuing events

-- Russ Herrold