Home>
The server (OS is CentOS7) is monitored with logwatch.
The logs sometimes contain the following restart attempts. Not every day.
Nov 27 15:19:50 unknown crond [966]: (CRON) INFO (Shutting down)
Nov 27 15:19:50 unknown crond [5716]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 62% if used.)
Nov 27 15:19:50 unknown crond [5716]: (CRON) INFO (running with inotify support)
Nov 27 15:19:50 unknown crond [5716]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
I don't remember writing the restart with cron, so I don't know where it comes from.
I just searched for "reboot jobs will be run at computer's startup"
There is a description about @reboot in the cronie source /var/run/cron.reboot is
If exists, log is output and the job is not executed. If it doesn't exist,
Because it is to create a file and execute the job
It is correct behavior not to reboot, but it is currently necessary to schedule a reboot
I want to stop this process, what should I do?
-
Answer # 1
Related articles
- Nodejs script centos startup practice method
- centos yum update and delete unnecessary startup items
- Solution for network card startup failure in CentOS desktop environment
- CentOS 6 startup process detailed
- Tomcat startup error on CentOS 65
- Detailed nginx centos service startup setting example
- Service startup method under Centos 6 and Centos 7 and method for adding to startup items
- centos - startup of zabbix server cannot be confirmed from web console
- centos7 bind service startup
- centos mysql startup error
Related questions
- linux - the script specified in crond will be executed with multiple pids
- centos - about shell script execution by cron
- centos - launch rails server at specified time using cent os7 cron
- error in chromedriver when selenium is run by cron in python
- linux - i do not want to run in the background with cron in seconds
- centos - cron email did not arrive
- linux - how to check when the email notification set by crontab -e does not arrive
- Run crontab script to execute jar program regularly in centOS6
- Rsync + Crontab under centos7 regularly synchronized backup
- Crontab scheduled task in centos7 once every 5 minutes
@reboot
does not mean restarting the OS with a crond job, but a crontab setting identifier for executing a job immediately after OS startup.Whenis started/restarted, if/var/run/cron.rebootexists, it is not immediately after the OS has started, so the log is output without executing the job. (Even if there is no @reboot setting in crontab).