Kristof Bastiaensen
11/12/2004 11:53:00 AM
Hi,
On Thu, 11 Nov 2004 22:44:51 +0900, Francis Hwang wrote:
> <snip>
> So here's what I'm thinking: If this has to run every 30 minutes, the
> easiest way (for me, the programmer) to do this, is have the user run it
> as a backgrounded process:
>
> $ ./script.rb &
>
> but that's sort of fragile, particularly since (if I'm understand Unix
> process correctly) backgrounding is handled in the shell so you can't
> really log out without killing the background. Also, if you restart the
> web server you lose the process, too.
>
FYI, on unix you can start a process with nohup, so that logging out
will not kill the process.
KB