on my debian sarge stable I have in cron.hourly the following entry:
debian:~# cat /etc/cron.hourly/ntpdate
/usr/sbin/ntpdate -v 22.214.171.124 126.96.36.199 188.8.131.52 ; /sbin/hwclock --systohc > /dev/null 2>&1
because I'll synchronize the system time every hour,
but the machine has a wirelless card with wpa encryption and the cron will start before the internet connection, so the system is hanging each time during the restart.
could someone help me pls to solve this problem ?