Dictionary / PC / Linux 討論版 / Server /

如何讓 crond 不寄出信件

New Subject
Random
Previous
Next
|
    如何讓 crond 不寄出信件

    ???因為 Crond 的排程工作會輸出一些訊息,加上我用 Root 帳戶轉寄郵件到我的私人信箱,導至於每幾分鐘就有新的 Cron 工作通知到我的私人信箱,為了不想收到一堆沒有用的信件,所以在網路上找到了這個方法:

    將 crontab 中的 MAILTO=root 設置為 MAILTO="" 就可以嚕,分享給大家。

    • Keywords : MAILTO, 網路上找到, 每幾分鐘就, 排程工作會輸出一些訊息, 帳戶轉寄郵件到, 工作通知到, 不想收到一堆, crontab, Crond
    00
    2009-07-17T16:02:55+0000


    • Now, you can post comments by Facebook Account when your Yampiz account was logout or unvariable. whatever, we suggest to post comment by Yampiz Account to get more bounds to join new events of Heyxu
    Comment
     
    Verify
    Comment