Re: crond, hwclock, and clockspeed
Thorsten Glaser <[email protected]> Mon, 12 Sep 2005 12:43:42 +0000 (UTC)
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Message-ID | <[email protected]> |
Lloyd Zusman dixit: >However, it looks like "crond" is not taking the leapseconds into account. >The following is an excerpt from /var/log/cron: > > Sep 12 07:07:39 home crond[6187]: (ljz) CMD (/opt/bin/eachminute 1>/dev/null 2>&1) > Sep 12 07:08:39 home crond[6191]: (ljz) CMD (/opt/bin/eachminute 1>/dev/null 2>&1) I can reproduce stuff like that: Sep 12 12:35:39 odem cron[29918]: (root) CMD (/usr/bin/nice /usr/sbin/sendmail -L sm-msp-queue -Ac -q) Probably, cron doesn't run at the full minute. From crontab: #minute hour mday month wday command # # sendmail clientmqueue runner 35 */3 * * * /usr/bin/nice /usr/sbin/sendmail -L sm-msp-queue -Ac -q So this is okay. >Also, I have noticed the following behavior with the "hwclock" program: No comment about this, since I've not touched GNU/Linux since 2000. BSD doesn't have a "hwclock" equivalent since we do the right thing (kernel sets CMOS time). bye, //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt