Subject: Re: Automatically starting programs...
To: Richard Grace , <netbsd-users@netbsd.org>
From: Richard Rauch <rrauch@math.ukans.edu>
List: netbsd-users
Date: 08/14/2002 20:37:23
Re. http://mail-index.netbsd.org/netbsd-users/2002/08/12/0007.html

(BTW, if I'm posting from my undergraduate university since math.rice.edu
isn't alive to ssh to.  If replying, please include me in the response,
but send to rauch@math.rice.edu (one ``r'' in the username, and at Rice;
(^&).)

(Side-note: I was a little surprised to see NetBSD/i386 in use at my alma
mater these days; they used to use LINUX and I think something else...
Go KU;  rock-chalk, Jayhawk.  Etc.  (^&)


Anyway, w.r.t. to the thread, see man 5 crontab, in the context of this
line:

              @reboot        Run once, at startup.


(^&

This is probably simpler than messing with an rc.d/ script.  Though the
script approach has the benefit of providing hooks for restarting and
shutting down (as well as for controlling what minimally needs to be up
and running before your command starts).

But, if it's something like SETI@Home, say, and you just want to spin up
the client...


  "I probably don't know what I'm talking about." --rrauch@math.ukans.edu