Search Postgresql Archives

Listen and do something daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux