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?


Redirect your output to null

>/dev/null 2>&

For example:

echo "/path/myscript > /dev/null 2>&1" | at now

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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