Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

By default (and from what I've looked at thus far), at dumps the standard terminal text output to /var/mail/yourusername. (e.g. echo "hello" | at now + 1 minute will save a log about the command) Is there some way to disable this, or an argument I can pass in to keep it from happening?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Redirect your output to null

>/dev/null 2>&

For example:

echo "/path/myscript > /dev/null 2>&1" | at now
share|improve this answer

at doesn't dump it to /var/mail/username, it emails it to the user. If your local mail server is configured to store messages in /var/mail/username, then it delivers them there. If you don't want them there, then configure your mail server differently.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.