Matthew Seaman <m.sea...@infracaninophile.co.uk> writes: > On 05/11/2011 22:19, Robert Simmons wrote: >> On Sat, Nov 5, 2011 at 6:03 PM, Alexander Best <arun...@freebsd.org> wrote: >>> same here. simply add something like the following to your crontab: >>> >>> 0 10 * * */2 /etc/rc.d/ntpdate onestart >> >> I have something similar in my crontab which is not exactly what I >> need. I want to make sure that the clock is set at every boot because >> I'm using this as a kerberos server. If the clock is not set properly >> at boot, kerberos will not work properly until the nightly cron jobs >> are run and the clock is set then. I need everything working at boot. >> I can't have a window of problems between boot and midnight or >> whenever cron runs ntpdate. > > crontabs have this handy '@reboot' syntax... It's all explained in > crontab(5).
Just be aware that 'Run once, at startup', means when 'cron' starts, not just when the system boots, unless they have changed it recently. -- Carl Johnson ca...@peak.org _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"