But, if you are setting the hardware clock it presumably has one. Why would you want to set it everytime? Why not read from it to get the time first, rather than hardwire January 2009?
The time to set it is on shutdown. And every hour with a cron job (to cover crashes, which don't have a shutdown).
birdman, my thinking is similar. But I wonder why it was done that way though. I sort of assume that these distributions are setup by experienced people who know what they are doing
Anyway, combining your idea, and addressing my concern, a sequence might be,
The last one assuming, the internal clock is very bad, and the machine may be unplugged for long periods. So at least on bootup, if network is available, the clock is syncd again. I know, the hwclock setup, and the auto adjust is a rather involved process, and a lot of good thinking/practice is out there. Probably one should find out the accepted best practice for this...