Tim Lynch writes:

 > Try putting the following nonsense before the command:
 >
 > exec >/dev/null; exec 2>/dev/null; exec 1</dev/null;

lol, i guess. i'm aware that one workaround is to handle the output in the job as opposed to allowing at to pass it to courier. sinking the output in /dev/null does prevent at from piping to courier, but it doesn't get it delivered in email.

You're not sinking anything to /dev/null. The above should be followed by whatever you want to run, with its output piped to Courier's sendmail.

The above shell script fragment attached stdin, stdout, and stderr to /dev/null. You will then follow it with your command, whose output is piped to Courier.


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to