From owner-freebsd-questions@FreeBSD.ORG Sun Dec 4 15:47:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68B9116A41F for ; Sun, 4 Dec 2005 15:47:43 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2DCF43D58 for ; Sun, 4 Dec 2005 15:47:42 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id 2C6C913C573 for ; Sun, 4 Dec 2005 16:47:41 +0100 (CET) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by merke.itea.ntnu.no (Postfix) with SMTP for ; Sun, 4 Dec 2005 16:47:40 +0100 (CET) Received: (qmail 16972 invoked by uid 1001); 4 Dec 2005 16:47:40 +0100 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Dec 2005 16:47:40 +0100 Date: Sun, 4 Dec 2005 16:47:40 +0100 (CET) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: Ian Lord In-Reply-To: <7.0.0.16.2.20051203201101.061b5dd8@msdi.ca> Message-ID: <20051204164431.Q8514@maren.thelosingend.net> References: <7.0.0.16.2.20051203201101.061b5dd8@msdi.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-questions@freebsd.org Subject: Re: schedule a script at "system startup" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 15:47:43 -0000 * Ian Lord [2005-12-03 20:18 -0500] > I would like to run a shell script at system startup which needs to run under > a specific uid... > > I don't see anything for this in man cron... See crontab(5) You can use the @reboot magic to make cron run a script once, at startup.