> /var/mail/root

Experts,

Is it safe to create a cron job with the following:

* 6 * * * >/var/mail/root

The goal is to truncate the root mail inbox. Centos
gsmith888Asked:
Who is Participating?
 
robocatConnect With a Mentor Commented:
sure, if you don't need these messages for diagnostic purposes.
0
 
omarfaridCommented:
you should not have a problem
0
All Courses

From novice to tech pro — start learning today.