-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 08 June 2002 01:03 pm, Kevin Weslowski wrote: > here's what I've loaded into root's crontab: > > ========================================== > > # min, hr, date > 50 10 * * * ntpdate -s time-nw.nist.gov > # > > ==========================================
/etc/crontab is not the root users crontab, and thus behaves a little differently than a user's crontab. When using /etc/crontab, you have to specify the user the operation should run as. For the command above, something like: 50 10 * * * root ntpdate -s time-nw.nist.gov It should then honor the variables defined in the config file. I use a similar entry: 30 */2 * * * root /usr/sbin/ntpdate -u 192.168.0.5 > /dev/null Which updates the time (to a local ntp server) every 2 hours on the half hour. All output, except error messages, is sent to /dev/null Hope that helps, - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj0CSawACgkQn/07WoAb/Ss3mACeMzIq9HYuASYjjlsE95t6NSaj 9CEAn0cxIHAKi5CPl/hzilhMLL4JvXp3 =IoJl -----END PGP SIGNATURE----- _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list