Re: How to call a shell command in rule

Поиск
Список
Период
Сортировка
От Clayton Cottingham
Тема Re: How to call a shell command in rule
Дата
Msg-id 20001025231623.6342D2185@klay.imc
обсуждение исходный текст
Ответ на How to call a shell command in rule  (Jie Liang <jliang@ipinc.com>)
Список pgsql-sql
On Wed, 25 Oct 2000 10:44:48 -0700, Jie Liang said:

> Hi,
>  
>  I want send a e-mail when the rows of mytable reaches 100,000, how?
>  
>  
>  

one way is to make a function using perl
and use say mail::sender as the module to send the info

use the code snippet
in perldoc Mail::Sender 


another would be to build a cron perl job that would run every so often and
check out
how many rows then send email



>  --
>  Jie LIANG
>  
>  Internet Products Inc.
>  
>  10350 Science Center Drive
>  Suite 100, San Diego, CA 92121
>  Office:(858)320-4873
>  
>  jliang@ipinc.com
>  www.ipinc.com
>  
>  
>  
>  
>  



В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Alternate Database Locations
Следующее
От: Jie Liang
Дата:
Сообщение: plperl