Re: speaking of SysV scripts - starting perl program

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: speaking of SysV scripts - starting perl program
On Tue, 2005-01-25 at 14:07 -0800, Jeremy C. Reed wrote:
> On Tue, 25 Jan 2005, Craig White wrote:
>
> > wow, sounds to be exactly what I want...
> >
> > do I just do
> >
> > nohup /root/relaydelay-0.04/relaydelay.pl 1>/var/log/relaydelay.log \
> > 2>&1 &
> >
> > but if it outputs to non-tty, why would I want the 1 and 2 outputs to
> > redirect?
>
> In that case, it would not work -- you would get nothing in your log file.
>
> Maybe you could rewrite relaydelay.pl to specifically log via syslog or
> append to a file itself?

---
the fact that it is essentially beta if not alpha software begs for that
but I hate perl (see my thread on whiteboxlinux.org list for more info).
I'm quite certain that it is a subversive plot. Ask Sinck...he is
infected.

I think I'll pollute my mind with other substances.

I could live without redirecting output to file (at least when it's
working properly) but the simple
'nohup /root/relaydelay-0.04/relaydelay.pl' command (at least when run
from script) held on to the terminal like it was a nickel in Jack Benny
hands.
---
> Or just use the example that worked for you without nohup.
>
> Jeremy C. Reed

----
dude - you are a fountain of knowledge - too bad you're stuck on that
other OS ;-)

Thanks

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss