How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending如何禁用Linux和Unix cron作業(crontab中)電子郵件發送

Cron jobs in Unix, Linux, Solar, BSD or other Unix-like operating system is similar to scheduled tasks in Windows OS. cron作業在Unix,Linux操作系統,太陽能,BSD或其他的類Unix操作系統類似的計劃任務在Windows操作系統。 Cron utility allows tasks (aka cron jobs) to be automatically run in the background at regular intervals or preset and predetermined time by the cron daemon. cron程序可以將任務(又名cron作業)將自動在後台運行,並定期或預置和預先確定的時間由cron守護進程。 All cron jobs or tasks are defined in crontab (cron table) file, which contains the schedule and specified times of the cron entries to be run.所有的cron作業或任務中定義的crontab(crontab中)文件,其中包含的時間表和具體倍的cron條目運行。

When an cron job runs, cron daemon will send an email to the user account that executing the cronjob.當cron作業運行,cron守護進程將發送電子郵件到用戶帳戶執行cronjob。 The notification or result mail messages normally contains output result or respond of the task or command executed by the cron job.通知或導致郵件通常包含輸出結果或響應任務或命令執行的cron作業。

Administrator or cron jobs schedulers who do not want to receive any email every time cron jobs are run can easily turn off and disable the email sending by crontab.管理員或cron作業調度誰不想收到任何電子郵件每次cron作業運行可以很方便地關閉和禁用電子郵件發送的crontab中。 To disable email delivery on execution of cron jobs, just append the following command to the end of the cron job line in crontab.要禁用電子郵件發送的執行的cron作業,只追加以下命令來結束cron作業線的crontab。 Each cron job that does not need email sending will have to be added.每個cron作業,並不需要發送的電子郵件將被添加。

> /dev/null 2>&1

For example,例如,

30 8 * * * command > /dev/null 2>&1 30 8 * * *命令“/開發/空2”&1

Tip: To edit cron jobs, type “crontab -e” in most system.提示:要編輯cron作業,鍵入“的crontab - e”的大多數制度。

Restart cron jobs deamon cron作業守護進程重新啟動 when done.當完成。

IMPORTANT : The page is machine translated and provided "as is" without warranty. 重要說明 :該網頁是機器翻譯,並提供“按原樣”不做。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原版的文章 whenever possible.只要有可能。


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> 您可以使用這些標記:<a title="">的title=""> <acronym title="">的首字母的<b> <blockquote cite=""> <cite>的<code>“刪除日期=“”“<em>的<i> <q cite=""> <strike>的<strong>

Subscribe to comments feature has been disabled. 訂閱評論功能已被禁用。 To receive notification of latest comments posted, subscribe to 收到通知最新的評論張貼,贊同 My Digital Life Comments RSS feed 我的數字生活評論RSS飼料 or register to receive 註冊以接收 new comments in daily email digest. 在新的評論的電子郵件每天消化。
Custom Search

New Articles新文章

Incoming Search Terms for the Article接踵而來的查尋期限為文章

disable crontab 禁用的crontab - - crontab email crontab中的電子郵件 - - how to disable cron job 如何禁用定時任務 - - cron job crontab email 定時任務的crontab電子郵件 - - Disable cron email 禁用電子郵件的CRON - - cron email notification 電子郵件通知的CRON - - crontab disable email crontab中禁用電子郵件 - - crontab disable crontab中禁用 - - mail from cron 郵件從cron - - cron disable email 禁用電子郵件的CRON - - disable cron 禁用的CRON - - cronjob email notification linux cronjob Linux的電子郵件通知 - - disable cron mail 禁用郵件的CRON - - disable cron.daily 禁用cron.daily - - email administrator cron job 電子郵件管理員定時任務 - - how to turn off crontab on linux 如何關閉Linux上的crontab - - solaris cron email Solaris的電子郵件的CRON - - cron do not send email 2>&1 使用CRON不發送電子郵件2“&1 - - cron jobs in unix in cron.d 在UNIX cron作業的cron.d - - crontab howto 的crontab howto - - cron sendmail disable Sendmail的禁用的CRON - - disable cron sending mails 禁用發送郵件的CRON - - howto create jobs in crontab howto在crontab中創造就業機會 - - "cron daemon email" “cron守護進程的電子郵件” - - /cron-DEACT /的CRON - DEACT - - crontab how to prevent cron from sending email crontab中如何防止電子郵件發送的CRON - - cron email size limit notification 電子郵件大小限制的CRON通知 - - crontab with sec,linux crontab中與秒,Linux操作系統 - - cron daemon sends status mail cron守護進程發送狀態郵件 - - cron disable mail notifications 禁用電子郵件通知的CRON - - disable cron send email 禁用的CRON發送電子郵件 - - disabling unix mail 禁用Unix郵件 - - disable cron sending emails 禁用的CRON發送電子郵件 - - how to cron disable in unix 如何在UNIX中禁用的CRON - - linux remove cron Linux的刪除的CRON - - linux stop a cronjob from sending emails Linux的停止cronjob發送電子郵件 - - not send email cron 不發送電子郵件的CRON - - Solaris disable mail from cron Solaris的禁用郵件從cron - - stopping cron jobs e mail 停止cron作業電子信箱 - - unix cron job Unix的定時任務 - - "dev/null" in crontab in unix “開發/空”在UNIX中的crontab - - cron disable mails 禁用電子郵件的CRON - - disable cron mail linux Linux的郵件禁用的CRON - - disable mail in cron 在cron禁用郵件 - - how to disable user crontab 如何禁用用戶crontab - - linux cron default email Linux的默認電子郵件的CRON - - mail linux disable 郵件Linux的禁用 - - prevent cron job email notifications 防止定時任務的電子郵件通知 - - turn off cron email 關閉電子郵件的CRON - - crontab remove on linux 在Linux上刪除的crontab - -