pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: How to call a shell command in rule
3+ messages / 2 participants
[nested] [flat]
* Re: How to call a shell command in rule
@ 2000-10-25 16:16 Clayton Cottingham <drfrog@smartt.com>
parent: Jie Liang <jliang@ipinc.com>
0 siblings, 1 reply; 3+ messages in thread
From: Clayton Cottingham @ 2000-10-25 16:16 UTC (permalink / raw)
To: Chris Reynolds <chris.reynolds@marketingtips.com>; +Cc: 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
>
>
>
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* How to call a shell command in rule
@ 2000-10-25 17:44 Jie Liang <jliang@ipinc.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jie Liang @ 2000-10-25 17:44 UTC (permalink / raw)
To: ; +Cc: pgsql-sql
Hi,
I want send a e-mail when the rows of mytable reaches 100,000, how?
--
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to call a shell command in rule
@ 2000-10-26 05:27 Jie Liang <jliang@ipinc.com>
parent: Clayton Cottingham <drfrog@smartt.com>
0 siblings, 0 replies; 3+ messages in thread
From: Jie Liang @ 2000-10-26 05:27 UTC (permalink / raw)
To: Clayton Cottingham <drfrog@smartt.com>; +Cc: Chris Reynolds <chris.reynolds@marketingtips.com>; pgsql-sql
Hi,
but perl cannot be used in trigger yet :-(
Clayton Cottingham wrote:
> 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
> >
> >
> >
> >
> >
--
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-10-26 05:27 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-25 17:44 How to call a shell command in rule Jie Liang <jliang@ipinc.com>
2000-10-25 16:16 ` Clayton Cottingham <drfrog@smartt.com>
2000-10-26 05:27 ` Jie Liang <jliang@ipinc.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox