エラーと標準出力を捨てる
command >& /dev/null
ファイルに保存したい時
command >& hoge.txt
http://dqn.sakusakutto.jp/2012/06/shell_dev_null_2_1_crontab.html
のコメント欄に感謝
More than 5 years have passed since last update.
command >& /dev/null
command >& hoge.txt
http://dqn.sakusakutto.jp/2012/06/shell_dev_null_2_1_crontab.html
のコメント欄に感謝
Register as a new user and use Qiita more conveniently