Subject: Re: Starting jobs from init
To: Richard Rauch <rauch@rice.edu>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 03/29/2002 23:02:07
> You can also use an ``@reboot'' crontab entry.  (I had the vague memory
> that I used this in the past with the effect that it auto-restarts, but I
> can't see any indication of that, now, in the man-page.  All that I can
> see, now, is that it runs it on every boot.)

Thanks, but starting at boot isn't the problem.

> I used to run the SETI@Home client this way (under the aegis of a ``seti''
> user account), when I had a continuous Internet connection.  A down side
> of doing this (instead of using the rc stuff) is that you can't attach any
> dependancies to it---cron will just start it whenever, shortly after
> booting.  An up side is that cron takes care of making sure that the
> daemon is running under the desired uid (if you don't need to run as root,
> then it saves you the bother of switching, and eliminates the possibility
> that your daemon will somehow abuse root access before becoming a less
> privileged user...(^&).
> 
> 
>   ``I probably don't know what I'm talking about.'' --rauch@math.rice.edu
> 
>