Date: Sat, 4 Sep 2010 13:31:55 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Jason <jhelfman@e-e.com> Cc: Martin McCormick <martin@dc.cis.okstate.edu>, freebsd-questions@freebsd.org Subject: Re: Need to run a Command Once on Boot. FreeBSD8.1 Message-ID: <AANLkTikS0%2BaurP7pvn%2BQJDf2h%2B=dpitrJ28=vjvTcCXn@mail.gmail.com> In-Reply-To: <20100903200009.GA94476@eggman.experts-exchange.com> References: <201009031951.o83Jom6b092378@dc.cis.okstate.edu> <20100903200009.GA94476@eggman.experts-exchange.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 3, 2010 at 11:00 PM, Jason <jhelfman@e-e.com> wrote: > On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake: > > Robert Bonomi writes: >> >>> /etc/rc.local maybe? contrary to the 'rc.d' way of doing things, but >>> 'simple'. :) >>> >> >> Thanks so much to both people who answered. I thought >> there was more to it than that but I may be thinking of the >> rcx.d directories in Linux. If you don't watch out, you can be >> scratching your head all day trying to figure out why the job >> isn't getting done. I use and like both FreeBSD and Linux but >> some things are easier in one than the other. >> >> Again, many thanks. >> > > man 5 crontab has: > > @reboot Run once, at startup But this will always run every reboot, no? I think there used to be something along the lines of rc.early which could do what he wants. Then you can schedule a task to delete rc.early once it's served it's purpose:) > > > >> Martin McCormick WB5AGZ Stillwater, OK >> Systems Engineer >> OSU Information Technology Department Telecommunications Services Group >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikS0%2BaurP7pvn%2BQJDf2h%2B=dpitrJ28=vjvTcCXn>