From owner-freebsd-chat Tue Oct 30 13:54: 8 2001 Delivered-To: freebsd-chat@freebsd.org Received: from lionsoft.xs4all.nl (lionsoft.xs4all.nl [213.84.78.232]) by hub.freebsd.org (Postfix) with ESMTP id E711837B401 for ; Tue, 30 Oct 2001 13:54:00 -0800 (PST) Received: from win2kws1 (win2k-ws1 [10.1.1.20]) by lionsoft.xs4all.nl (8.9.3/8.9.3) with SMTP id WAA23763; Tue, 30 Oct 2001 22:53:41 +0100 Reply-To: From: "Jacco" To: "Frank Laszlo" Cc: Subject: RE: Start scripts as "deamons" Date: Tue, 30 Oct 2001 22:53:50 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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