DonDavisFCB
Programmer
I am having trouble supressing the system mail output of the "at" command.
If I run the "at" command from the CLI I can suppress all output, including system mail, by redirection. Example:
echo /usr/local/Tivoli/scripts/pageNOC.pl clearCache | at now + 1 minutes 1>/dev/null 2>/dev/null
However, when I do the same thing from within a perl script, I get system mail everytime. I do not want mail.
Here is the line from my perl script:
`echo /usr/local/Tivoli/scripts/pageNOC.pl clearCache | at now + 1 minutes 1>/dev/null 2>/dev/null`;
If I run the "at" command from the CLI I can suppress all output, including system mail, by redirection. Example:
echo /usr/local/Tivoli/scripts/pageNOC.pl clearCache | at now + 1 minutes 1>/dev/null 2>/dev/null
However, when I do the same thing from within a perl script, I get system mail everytime. I do not want mail.
Here is the line from my perl script:
`echo /usr/local/Tivoli/scripts/pageNOC.pl clearCache | at now + 1 minutes 1>/dev/null 2>/dev/null`;