Re: run perl as service

2007-08-08 Thread Dr.Ruud
Andrew Curry schreef: > the problem with a daemon is you need to keep checking its > running google: inittab respawn telinit -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

RE: run perl as service

2007-08-08 Thread Toddy Prawiraharjo
me testing regarding performance and maintenance from what Andrew said. Cheers, Toddy Prawiraharjo -Original Message- From: Chas Owens [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 10:36 PM To: Andrew Curry Cc: [EMAIL PROTECTED]; beginners@perl.org Subject: Re: run perl a

RE: run perl as service

2007-08-08 Thread Andrew Curry
nces (should it take over a minute). -Original Message- From: Chas Owens [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 13:36 To: Andrew Curry Cc: [EMAIL PROTECTED]; beginners@perl.org Subject: Re: run perl as service On 8/8/07, Andrew Curry <[EMAIL PROTECTED]> wrote: > To be hon

Re: run perl as service

2007-08-08 Thread Chas Owens
On 8/8/07, Andrew Curry <[EMAIL PROTECTED]> wrote: > To be honest in terms of database monitoring cron is usually the way to go. > The advantage Is that then you don't need to monitor the monitoring program. > As a DBA you need reliable data in terms of status etc... You could write an > overcompli

Re: run perl as service

2007-08-08 Thread Chas Owens
On 8/8/07, Toddy Prawiraharjo <[EMAIL PROTECTED]> wrote: > Hi all, > > I wrote a simple perl script to check some variables in SHOW STATUS in a > mysql server. Now, how do I run it as a service/daemon? > I want more flexibility than crontab which is based on time. Should I use > sleep? Or is there

Re: run perl as service

2007-08-08 Thread Jeff Pang
-Original Message- >From: Toddy Prawiraharjo <[EMAIL PROTECTED]> >Sent: Aug 8, 2007 8:12 PM >To: beginners@perl.org >Subject: run perl as service > >Hi all, > >I wrote a simple perl script to check some variables in SHOW STATUS in a >mysql server.

RE: run perl as service

2007-08-08 Thread Andrew Curry
is an option its much simpler and less can go wrong. -Original Message- From: Toddy Prawiraharjo [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 13:12 To: beginners@perl.org Subject: run perl as service Hi all, I wrote a simple perl script to check some variables in SHOW STATUS in a

run perl as service

2007-08-08 Thread Toddy Prawiraharjo
Hi all, I wrote a simple perl script to check some variables in SHOW STATUS in a mysql server. Now, how do I run it as a service/daemon? I want more flexibility than crontab which is based on time. Should I use sleep? Or is there any other alternative? Thanks in advance.   Cheers,   Toddy Prawir