--Yes, I know; but what is the real value of getting a mail at 5 minutes after midnight regardless? Wouldn't you rather get a mail at midnight from the clock-sync script? That lets you know if it ran Ok or not.

--Like so:
' ntpdate parm && date|mail -s "Clock sync script" ' (only sends the mail if return code from ntpdate = 0.) If you *don't* get the mail you know something went wronf. (humor intentional on the sp.)

--With 2 cron entries, the 5-after mail will be sent whether or not the ntpdate has run successfully; with the method above, you will know if it ran Ok.

Quote Originally Posted by Ambrose
Ah ha!

I didn't think to check to see if two cron's were running, and that was it.

FYI, and 00:05 I get the e-mail with the time, and at 00:00 it sync's

- Ambrose