Date: Tue, 30 Oct 2001 22:53:50 +0100 From: "Jacco" <jacco@lionsoft.xs4all.nl> To: "Frank Laszlo" <nez@FREEBSDMATRIX.NET> Cc: <freebsd-chat@freebsd.org> Subject: RE: Start scripts as "deamons" Message-ID: <LEEGJHDFDIEGNMNMDFNDKEEKEGAA.jacco@lionsoft.xs4all.nl> In-Reply-To: <B8048734.F551%nez@freebsdmatrix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Frank, | Are you talking about crontab? or maybe /usr/local/etc/rc.d | either way, crontab will allow you to run scripts and make sure they keep | running at specified times, and the fold i specified is the folder to put | scripts in that you wish to have start when you boot. Unfortunately I realy mean a inittab: # inittab This file describes how the INIT process should set up # the system in a certain run-level. # # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) processname:23:respawn:scriptname This means that the script always runs when the machine is up and not at a defined time (crontab). You can kill it with a "killall -HUP processname" and it comes right back up and running again..... (on my RedHat 6.2 machine witch is a bad one and has to be replaced by FreeBSD). I'm looking for a similar option in Freebsd. Thank you, Jacco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LEEGJHDFDIEGNMNMDFNDKEEKEGAA.jacco>