Question about Cron email



I have a cron job running as root. The Output from "cron" command
email is being sent to root (which is our system admin and not me). I
would like to receive these emails as well. I've tried to pipe the
output to mail so that I can get this output (as in the below cron
entry), but all I get is a blank email sent to that address that has
"Test" as the subject. I don't see any of the output that is sent to
the root user in the "Output from "cron" command" email. Can someone
please help me figure this one out? Thanks!

10 9 * * * /home/oracle/testmysql.script | mailx -s "Test"
"email@domain"

.



Relevant Pages

  • [opensuse] Why doesnt this work?
    ... Chain OUTPUT ... the messages log shows that cron executed the OFF.sh shell as ... the crontab entries for root commanded but the iptables dump for the ... makes no difference if the command is run from a script or directly from ...
    (SuSE)
  • [Fwd: OpenBase SQL multiple vulnerabilities Part Deux]
    ... # Writing to roots crontab seems to be fairly prompt at handing out root shells ... This ensures that cron is running when the fake root crontab is created. ... the OpenBase family of products have been enabling some of the most innovative business applications ...
    (Bugtraq)
  • RE: cron.daily stopped working
    ... expiration with command "passwd -f root " and then setup a test root ... cron. ... job in /etc/cron.daily just stopped working. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: Cron job question
    ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
    (freebsd-questions)
  • dns and mail question
    ... I have several private networks that I vpn between. ... root run processes that send mail to our admin group, cron, logwatch you ... cron runs a job and generates a mail to root. ...
    (RedHat)