From owner-freebsd-questions Sun Apr 7 9:14: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id 6DB9737B416 for ; Sun, 7 Apr 2002 09:14:05 -0700 (PDT) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.35 #1) id 16uFIb-0002gU-00; Sun, 07 Apr 2002 17:13:49 +0100 Date: Sun, 7 Apr 2002 17:13:49 +0100 From: Simon Dick To: Server Admin Cc: freebsd-questions@freebsd.org Subject: Re: Cron @reboot Message-ID: <20020407161349.GI2423@irrelevant.org> References: <3.0.5.32.20020407105135.018ca310@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20020407105135.018ca310@mail.sage-one.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 10:51:35AM -0500, Server Admin wrote: > Rather than use the rc.d script approach, I'm considering the use of cron's > "@reboot" event, but not sure if that runs when reboot command is issued OR > AFTER rebooting. I'm interested in having it run after a reboot... has > anyone tried it or know the answer....?? It runs the command after a reboot, I've used it myself. From crontab(5): @reboot Run once, at startup. -- Simon Dick simond@irrelevant.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message