2013年5月31日

linux 服务器时间同步

摘要: 我们api服务器与qq第三方登录对接的时候老是报错,原因是二者服务器的时间相差5分钟以上。但是明明我设置了定时脚本的啊命令如下:*/1 * * * * ntpdate 192.168.1.115;为什么不生效?google了一番,改为 */1 * * * * /user/sbin/ntpdate 192.168.1.115还是不生效查看crontab运行的日志tail -f /var/log/cron发现运行的还是ntpdate 192.168.1.115,也即是说 crontab -e 未生效好吧,重启crontab吧, service crond restart,大功告成。 在这里再次吐槽 阅读全文

posted @ 2013-05-31 16:05 xiaorao 阅读(181) 评论(0) 推荐(0) 编辑

7 Signs You Have a Sleep Problem You DON'T Know About

摘要: 最新睡眠质量不好,google到一篇文章,自己简单翻译下When you can't sleep, you know it. But what about when you can, yet you wake up feeling tired and achy or you're groggy again a few hours later? What's that about? All too often, it turns out, the problem is one that doesn't keep you awake but does sabotag 阅读全文

posted @ 2013-05-31 11:20 xiaorao 阅读(363) 评论(0) 推荐(0) 编辑

导航