close

在crontab執行完只要有stdout
他就會送信出來
除了導向/dev/null外

在/etc/crontab 加上

 MAILTO=""

這樣就不會把信送出了。
 man 5 crontab 


If MAILTO is defined but empty  (MAILTO=""),  no
       mail will be sent.  

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 peicheng 的頭像
    peicheng

    FLASHC

    peicheng 發表在 痞客邦 留言(0) 人氣()