Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 17:13:49 +0100
From:      Simon Dick <simond@irrelevant.org>
To:        Server Admin <admin@sage-one.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cron @reboot
Message-ID:  <20020407161349.GI2423@irrelevant.org>
In-Reply-To: <3.0.5.32.20020407105135.018ca310@mail.sage-one.net>
References:  <3.0.5.32.20020407105135.018ca310@mail.sage-one.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407161349.GI2423>