Start, Stop and Restart Crond Daemon in Linux開始,停止並重新啟動crond守護進程在Linux
Cron jobs in Linux and its variants such as FreeBSD or CentOS which commonly used on web hosts due to popularity of cPanel web server control panel system, is important time based scheduled tasks and commands that perform various functions such as log rotation, updates checking, system maintenance, file system cleaning, backup, service restart and etc.的CRON工作在Linux及其變種,如FreeBSD的或centos ,其中常用的Web的主機,由於受歡迎程度的cPanel Web伺服器控制面板制度,是非常重要的時間為基礎的計劃任務和命令,履行各項職能,如日誌輪換,更新檢查,系統維修,檔案系統的清潔,備份,重新啟動和服務等。
Cron jobs are managed by a daemon named crond .玉米職位是由一個名為守護進程crond 。 When cron schedules are added, deleted or modified by crontab, any changes are enacted by the crond daemon.當的CRON附表補充,刪除或修改由crontab ,任何的變化,通過由crond守護程序。 Crond daemon runs constantly in the background and checks once a minute to see if any of the scheduled jobs need to be executed. crond守護進程運行在不斷的背景和檢查,一旦一分鐘,看看是否有任何的預定工作需要被處決。 If any, crond will execute the commands.如有的話, crond會執行命令。 If crond process is not running, no cron jobs will be executed.如果crond進程沒有運行,沒有任何的CRON的工作將被處決。
Thus, it’s important to ensure that crond daemon is running and not hanged in the system.因此,它的重要的是要確保crond守護進程正在運行,而不是吊死在系統中。 To manage crond daemon in Linux, we can make use of “service” command.管理crond守護進程在Linux ,我們可以利用“服務”的命令。
To check the status of crond daemon:檢查的地位crond守護進程:
service crond status 服務crond地位
To stop and terminate crond process:停止和終止crond進程:
service crond stop 服務crond停止
To start and run crond daemon:啟動和運行crond守護進程:
service crond start 服務crond啟動
To restart crond service:重新啟動crond服務:
service crond restart 服務crond重新啟動
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- cPanel Update (upcp) Is Already Running Problem更新的cPanel ( upcp )已經運行的問題
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time自動關機和重新啟動的Apache的httpd服務的守護進程在預設時間
- Change and Reset MySQL root Password改變和重置MySQL的root密碼
- Stop 0×0000007B Inaccessable_Boot_Device Error After Enable AHCI Mode on SATA Drive in Vista停止0 × 0000007b inaccessable_boot_device錯誤後,使ahci模式對SATA硬盤在Vista
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut重新啟動或關機的Windows ( XP中, 2000年和Vista )由命令行或一點擊捷徑
- cPanel Unable or Cannot Start or Restart POP3 Mail Service的cPanel無法或不能啟動或重新啟動POP3郵件服務
- Running Google Earth on Suse Linux with VMware Google地球運行在SuSE Linux上使用VMware
- Mandriva Linux 2008 Available for Downloading mandriva Linux的2008年供下載
- Fix Hotspot Shield Bandwidth Exceeded, TCP Connect Wait, Auth Failure or Daemon Start Error修復的熱點,盾構帶寬超過時, TCP連接等待,權威性的失敗或守護進程啟動錯誤
- Reset the Root Password of MySQL Server重置root密碼的MySQL服務器



















December 6th, 2007 00:05 2007年12月6日0時05分
[...] killing crond process, you will have to start crond daemon again, else all cron jobs won’t run. [ … … ]殺害crond過程中,您將必須開始crond守護進程再次,否則所有的CRON的工作將不會執行。 Get help or contribute tips or tricks at My Digital Life [...]獲得幫助或貢獻的提示或伎倆在我的數字生活[ … … ]
July 3rd, 2008 13:04 2008年7月3日13時04分
I have cron daemon running and I added an entry using crontab -e command.我的CRON守護進程運行的,我說,文字使用crontab E型指揮。 When the exact time reached, the script that is specified is the crontab did not get executed.當確切的時間達成共識,腳本是指定的是crontab沒有得到執行。
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.但是,如果我沒有重新啟動的CRON守護進程(使用命令的/ etc / init.d / crond重新啟動)後,加入玉米進入(使用crontab E型指揮) ,然後腳本得到執行,在指定的時間。
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.當我看到該名男子頁crond ,他們已清楚提到,這是不須重新啟動的CRON daemon在每次的CRON該作品將被更新。 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.不敢肯定我是否需要啟動的CRON守護進程與具體參數,以便它並不需要重新啟動每一次我更新的CRON參賽作品。
Any help is appreciated.任何幫助表示讚賞。
Thanks & Regards感謝與問候
- Siva -濕婆