RE: how to nohup on windows?

From: <Joel.Patterson_at_crowley.com>
Date: Fri, 24 Oct 2008 12:57:17 -0400
Message-ID: <0684DA55864E404F8AD2E2EBDFD557DA01DC9EA1@JAXMSG01.crowley.com>


Remotely logging in to perform long running tasks where you do not wish to risk being disconnected and thus the job cease in the middle. Nohup will continue running in the background.

Joel Patterson
Database Administrator
joel.patterson_at_crowley.com
x72546
904 727-2546

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Alessandro Vercelli Sent: Friday, October 24, 2008 9:09 AM
Cc: oracle-l
Subject: Re: how to nohup on windows?

From unix/linux manpages:

nohup - run a command immune to hangups, with output to a non-tty

cron - daemon to execute scheduled commands (ISC Cron V4.1)

The purposes of the commands are not mutually exclusive; you can place into cron a script which contains a nohup; on my experience, i use nohup:

  • from command line prompt, when I need to close the session before the end of excution of the script
  • in cron jobs scripts, when i need to collect all of its output, for example:

nohup my_script.sh > my_script.log 2>&1 &

There can be many other situations to use one, the other or bot, yet.

Alessandro

>presumably for much the same reasons one might run scripts using nohup
on
>unix rather than using cron?
>Niall
>On Fri, Oct 24, 2008 at 9:08 AM, Hans Wijte <hans.wijte_at_nl.ibm.com>
wrote:
>
>>
>>
>> Why not run your scripts as a scheduled task ?
>>
>

--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 24 2008 - 11:57:17 CDT

Original text of this message