[Dxspider-support] crontab

Jaime Robles jaime at robles.nu
Tue Jul 9 08:13:24 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Mar 09 Jul 2002 03:23, George Lloyd escribió:
> Yes I've had a look at that but I'm trying to get the auto time update to
> work with the following line but it appears to be ignored.
> 10 01 * * * spawn("rdate -s time.nist.gov")
I would use:
10 01 * * * /usr/sbin/ntpdate -u -b -s ntpserver.domain.com

You should install ntp but it works pretty well and there are many ntp servers 
on the internet.

You can do that using two ways:
The two ways are from root console:
===== 1 =====

# crontab -e

(You edit the cron file... and exit, your cron is installed.)

===== 2 =====
# vi /etc/crontab
(You edit the cron file... and exit.)
# crontab /etc/crontab
(know your cron is installed)

======================

You can see what is running in your cron using "crontab -l" (also from root)

Remember to run "crontab -l" if you edited the file with vi (or your preferred 
editor) or your cron daemon won't read the new file ;-)




- -- 
Un saludo,
	Jaime Robles, EA4TV
	jaime at robles.nu

Visita	http://www.redlibre.net - La Red Libre de todos!		
	http://smsdx.net - El DXCluster en tu movil!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9Ko0XXQbDFdwUn+gRAuL3AJ9WKeP0QVbG40LMlsxh5GRyCKm5IwCfQyOP
4KUjkfo38kyLHAP4Jc7h3VA=
=/nLZ
-----END PGP SIGNATURE-----





More information about the Dxspider-support mailing list