Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
zh:docs:guide-user:base-system:cron [2019/11/04 01:01] – [定期重启] longgenxingzh:docs:guide-user:base-system:cron [2019/11/04 01:03] – [定期重启] longgenxing
Line 124: Line 124:
 (At the end of the boot process ntpd starts, and it may also take a while before ntpd gets and sets the correct time, so cron may start the reboot in between.) (At the end of the boot process ntpd starts, and it may also take a while before ntpd gets and sets the correct time, so cron may start the reboot in between.)
  
-**中文翻译**:在启动的时候,当前系统的时间使用“sysfixtime”程序来设置;设定依据是在/etc目录下,使用最近被修改的文件;+**中文翻译**:在启动的时候,当前系统的时间使用“sysfixtime”程序来设置;设定依据是在/etc目录下,使用最近被修改的文件的时间
 它可能是一个状态文件,或者配置文件,它可能在cron定时任务需要重启系统前30秒刚做了修改。 它可能是一个状态文件,或者配置文件,它可能在cron定时任务需要重启系统前30秒刚做了修改。
 所以,如果在重启系统的过程中,系统时间被设置为这个文件的时间属性的前若干秒钟的话。 所以,如果在重启系统的过程中,系统时间被设置为这个文件的时间属性的前若干秒钟的话。
-当cron软件开始计时,而且马上又会发现,设置的重启的时间又到了,然后又开始重启了……+当cron软件开始计时,cron马上又会发现,设置的重启的时间又到了,然后又开始重启了……
 (还有的可能就是:启动流程的最后ntpd的时间服务启动了,这个软件得需要一阵子才能获取并且设置正确的时间,所以这段时间内,cron定时重启任务又被触发重启了。) (还有的可能就是:启动流程的最后ntpd的时间服务启动了,这个软件得需要一阵子才能获取并且设置正确的时间,所以这段时间内,cron定时重启任务又被触发重启了。)
  
  • Last modified: 2020/05/16 16:23
  • by huangzulin