Solved

> /var/mail/root

Posted on 2014-01-06
2
438 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 21

Accepted Solution

by:
robocat earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choosing CentOS 16 110
Coding C# in Linux 8 133
Migrating php-mysql-jquery application to Microsoft Azure Cloud 7 38
HOw To Install Docker on VMware Workstation 19 181
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 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