RE: Perl Monitor MySQL Table

2003-07-02 Thread Dan Muey
I don't think you can tell mysql to run any commands whena records is inserted. But what I do to achievge asimilar effect is this: In the table I have a INT(1) field, say, Proc. INSERT INTO Proc=1 ... Then I cron a script to do this every hour or whatever: SELECT ... WHERE Proc=1.. Foreach

Re: Perl Monitor MySQL Table

2003-07-02 Thread Jenda Krynicky
From: "Nick Diel" <[EMAIL PROTECTED]> > I am working on a project where machines will use a perl script to > write to a table in a MySQL database. I want a perl script to run > everytime there is a new entry, but I don't know how to trigger the > perl script when there is a new entry (the perl to

Perl Monitor MySQL Table

2003-07-02 Thread Nick Diel
I am working on a project where machines will use a perl script to write to a table in a MySQL database. I want a perl script to run everytime there is a new entry, but I don't know how to trigger the perl script when there is a new entry (the perl to be triggered will be sitting on the same box a