[CentOS] Reactive systems -- was: Event scheduling

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


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



More information about the CentOS mailing list