Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

at.allow and STDOUT/STDERR

Status
Not open for further replies.

LinuAIX

MIS
Jun 5, 2003
53
US
Help! I have a system user that submits "at" jobs via a script that has not changed in years. After implementing secuiry, ie added at.allow and cron.allow with appropriate user id's, it now e-mails the user STDOUT and STDERR. It did not before. Any Ideas as to what changed?!?


LinuAIX
Unix Dude
SysAdmin
 
I'm surprised it didn't send the email before you made the at.allow and cron.allow entries.

If you don't want the emails to be sent, add this at the end of the at command: > /dev/null 2>&1

this sends stderr and stdout to /dev/null.
 
Well aware of the 1>/dev/null 2>&1. The real question is WHY they started sending the mail! The script that submits the AT jobs has not changed and did not receive these e-mails before.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top