> Which linux command i use to run a perl script that will stay
> running in my
> server even when i logout via telnet?
> Thanks
nohup command &
then you can logout and the command will run and run
or do as I am, daemonise it :)
-ROn
My personal favorite is this:
#print 'command' | at now
That's the print command (your system should have the print command,
otherwise use echo) followed by the command I want to run in single quotes
(in case you have weird characters in the command), then piped to at. at
will daemonize it for
Hi dude,
First .. check the mini-docs that come with
your linux distribution
but what you want to do is fire off a background
process something like ...
&command
additionally, you can create an entry for it
in the crontabs table to fire automatically at any
On Tue, Jun 19, 2001 at 08:07:45AM -0700, Dave Young wrote:
> (which also "disconnects" it from the current tty.
dont know what shell you are talking about. no shell that i have seen bash,ksh
or csh works that way. commands are just put in their own process groups.
putting a & in front just make
If you need to run your script very often, try to put it into the cron file
Alex
[EMAIL PROTECTED] wrote:
> put a nohup in front and a & at the end.
>
> This will make your script immune to handup and run in background.
>
> Tor.
>
> [EMAIL PROTECTED] wrote:
>
> > Which linux command i use to r
put a nohup in front and a & at the end.
This will make your script immune to handup and run in background.
Tor.
[EMAIL PROTECTED] wrote:
> Which linux command i use to run a perl script that will stay running in my server
>even when i logout via telnet?
> Thanks
It all has to do with your shell. modern shells shouldn't kill your
processes on logout. Do & to run it in the background
(which also "disconnects" it from the current tty.
if all else fails, man and look for nohup
Hope that helps.
Dave
...On Mon, 4 Jun
2001
[EMAIL PROTECTED] wrote: