Listen and do something daemon

From: KM <km(at)xacrasis(dot)netx>
To: pgsql-general(at)postgresql(dot)org
Subject: Listen and do something daemon
Date: 2010-09-25 01:42:39
Message-ID: 4c9d538f$0$22107$742ec2ed@news.sonic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-09-25 05:30:19 Re: Trade Study on Oracle vs. PostgreSQL
Previous Message Sergey Burladyan 2010-09-25 00:41:28 Re: Libpq memory leak