crontab not executing all lines

view story

http://serverfault.com – I have a sudo crontab like this to sync time: # m h dom mow dow command 0 6 * * * ntpdate >> /var/mylog/ntp.log 0 7 * * * /var/mylog/backup.sh >> /var/mylog/backup.log The problem I am having is that the first line (ntpdate) never seems to execute. If I run it manually with sudo that line works. cron does run the backup.sh at the 7, but it never executes then ntp sync at 6. The syslog doesn't seem to show anything. System is Ubuntu 10.04 LTS. (HowTos)