茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1670918 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_60D_00237.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2019/7/23 9:21:05

How To Start/Stop/Restart Cron Service In Linux

by lifeLinux on May 24, 2011

A cron is a utility that allows tasks to automatically run in the background of the system at regular intervals by use of the cron daemon. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at what times they are to be run. This can be quite useful. For example, you may have a personal temporary directory that you wish to be cleaned out once a day to keep your quota from being exceeded. This is where cron scheduling comes in to play. Not all systems allow for a cron schedule to be setup. You need to see your system administrator to see if it is available on your system.

Start/Stop/Restart cron service in Redhat/Fedora/CentOS

If you are using Redhat/Fedora/CentOS Linux login as root and use the following commands.


Start cron service
To start cron service, enter:



# /etc/init.d/crond start

Or



# service crond start

Stop cron service
To stop cron service, enter:



# /etc/init.d/crond stop

Or



# service crond stop

Restart cron service
To restart cron service, enter:



# /etc/init.d/crond restart

Or



# service crond restart

Start/Stop/Restart cron service in Debian/Ubuntu


If you are using Debian/Ubuntu Linux login as root and use the following commands.

Start cron service
To start cron service, enter:



# sudo /etc/init.d/cron start

Or



# sudo service cron start

Stop cron service
To stop cron service, enter:



# sudo /etc/init.d/cron stop

Or



# sudo service cron stop

Restart cron service
To restart cron service, enter:



# sudo /etc/init.d/cron restart

Or



# sudo service cron restart

原文出處:
How To Start/Stop/Restart Cron Service In Linux
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|