Re: [GENERAL] Listen and do something daemon

2010-09-25 Thread Josh Kupershmidt
On Fri, Sep 24, 2010 at 9:42 PM, KM wrote: > Does this program already exist? > >   $ listen-and-do --database=foo --listen-for="somenotification" \ >      --then-do="some-script" > > It will daemonize itself, issue a 'LISTEN somenotification' on the > database foo, and on each NOTIFY will run som

[GENERAL] Listen and do something daemon

2010-09-24 Thread KM
Does this program already exist? $ listen-and-do --database=foo --listen-for="somenotification" \ --then-do="some-script" It will daemonize itself, issue a 'LISTEN somenotification' on the database foo, and on each NOTIFY will run some-script. Thanks -- KM -- Sent via pgsql-general m