开始,停止并且重新开始Crond邪魔在Linux

Cron工作在Linux和它的变形例如常用的在WEB主机由于cPanel网络服务器控制板系统大众化,是基于的重要时间的FreeBSD或CentOS预定了执行各种各样的作用例如日志自转、更新检查,系统维护、文件系统清洁、备份、服务再开始和等的任务和命令。

Cron工作由邪魔处理命名 crond. 当增加,删除或者crontab时修改cron日程表,所有变动由crond邪魔立法。 Crond恒定邪魔奔跑在背景和检查中,一旦一分钟看见其中任一个预定的工作是否需要被执行。 若有的话, crond将执行命令。 如果crond过程不跑, cron工作不会被执行。

因此,保证是重要的crond邪魔在系统跑和没垂悬。 要处理crond邪魔在Linux,我们可以利用“服务”命令。

检查crond邪魔的状态:

服务crond状态

停止和终止crond过程:

服务crond中止

开始和跑的crond邪魔:

服务crond开始

重新开始crond服务:

服务crond再开始

重要: 这是现状提供,不用保单的机器翻译的页。 计算机翻译也许是难了解。 参见 原始的英国文章 每当可能。

分享并且贡献或者得到技术支持并且帮助在 我的数字式生活论坛.



2 Responses to “Start, Stop and Restart Crond Daemon in Linux”

  1. cPanel Update (upcp) Is Already Running Problem » My Digital Life
    December 6th, 2007 00:05
    1

    [...] killing crond process, you will have to start crond daemon again, else all cron jobs won’t run. Get help or contribute tips or tricks at My Digital Life [...]

  2. SivaramaKrishnan
    July 3rd, 2008 13:04
    2

    I have cron daemon running and I added an entry using crontab -e command. When the exact time reached, the script that is specified is the crontab did not get executed.

    But, if I restart the cron daemon (using the command /etc/init.d/crond restart) after adding the cron entry (using crontab -e command), then the script gets executed at the specified time.

    When I looked at the man page of crond, they have clearly mentioned that, it is not required to restart cron daemon everytime the cron entries are updated. Am not sure whether I need to start the cron daemon with specific parameters so that it does not need to be restarted every time I update the cron entries.

    Any help is appreciated.
    Thanks & Regards
    - Siva

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

restart crond - linux crond - restarting crond - crond - freebsd restart cron - restart cron - restart crontab - crond restart - service crond restart - EM Daemon is not running - crond start - crond daemon - start crond - how to restart crond - restart cron freebsd - crond stop - crontab daemon - restart cron deamon - centos restart cron - centos crond - start cron daemon - all - crond process - how to start cron daemon - stop crond - crond+process - start cron linux - cron restart - linux restart - linux start stop - starting crond - crond linux - how to stop crond - restart cron centos - restart a daemon - crond status - deamon linux - how to restart cron - restart stopped process in linux - how to start crond - Restarting cron jobs in linux - restart linux - how to restart cron daemon - service restart linux - stop start crontab - centos start cron - configure cron daemon suse - how to restart cron in freebsd - crond for windows - linux crond startup script -