Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

> /var/mail/root

Posted on 2014-01-06
2
Medium Priority
?
478 Views
Last Modified: 2014-01-06
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
0
Comment
Question by:gsmith888
2 Comments
 
LVL 22

Accepted Solution

by:
robocat earned 2000 total points
ID: 39759141
sure, if you don't need these messages for diagnostic purposes.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 39759295
you should not have a problem
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question