Subject: Re: crontab(1,5) entries
To: Richard Rauch <rauch@eecs.ukans.edu>
From: Nigel Reed <nigel@nelgin.nu>
List: netbsd-help
Date: 02/16/2001 22:48:44
If you start a process with cron which never exits - what happens when
the time comes to start it again? You want two? three? four of these
never ending processes?

If you want a program to start at boot time then you should consider
putting it in /etc/rc.local.


Regards
Nigel

On Fri, Feb 16, 2001 at 10:06:37PM -0600, Richard Rauch wrote:
> If I have a process that I want to start at bootup, using crontab(1), one
> which never exits, should I suffix an ``&'' to the command-string, as I
> would at a shell prompt?  Or does cron automatically fork the process when
> it runs the command?
> 
> The answer to this isn't clear from the 1,5 section man-pages, nor from
> cron(8).  Or else, I'm just missing it, somehow...
> 
> 
>   "I probably don't know what I'm talking about." --rauch@eecs.ukans.edu

--