How do I avoid this weekly transmission e-mail?

  • I get a weekly e-mail like this from transmission:


    Zitat

    /etc/cron.weekly/transmissionbt:
    localhost:9091/transmission/rpc/ responded: "success"


    What's the proper way to turn this off?


    I don't even understand what the message is trying to say and why is telling me that...

  • I don't know whats proper, but you can redirect it NULL.
    > edit (nano etc.) /etc/cron.weekly/transmissionb
    and add ">/dev/null 2>&1" without the quotes, after every command that you don't need emails.


    Then restart cron with
    >sudo /etc/init.d/cron restart
    or restart whole box.

    _-<=[' OMV 1.0.12(Kralizec) ']=>-_
    3.14-0.bpo.1-rt-amd64 kernel
    RAiD 6
    ASuS P5Q Pro

  • Zitat von "hms"

    I don't know whats proper, but you can redirect it NULL.
    > edit (nano etc.) /etc/cron.weekly/transmissionb
    and add ">/dev/null 2>&1" without the quotes, after every command that you don't need emails.


    Then restart cron with
    >sudo /etc/init.d/cron restart
    or restart whole box.


    Will that just prevent the e-mails?


    Cause I need that command to run...

  • It should redirect the mails transmission sends when something happens to NULL , google for more info about cron mails. Not sure if it works with wheezy as I'm getting now ramlog mails even eith that redirecting, it did work with debian squeeze tho.
    You just won't get the mails anymore.

    _-<=[' OMV 1.0.12(Kralizec) ']=>-_
    3.14-0.bpo.1-rt-amd64 kernel
    RAiD 6
    ASuS P5Q Pro

  • I get a daily mdadm email that is equally as annoying, especially since I am not using mdadm.


    I edit /etc/cron.daily/mdadm and it looks like this:
    MDADM=/sbin/mdadm
    [ -x $MDADM ] || exit 0 # package may be removed but not purged


    exec $MDADM --monitor --scan --oneshot



    so I just do this?


    exec $MDADM --monitor --scan --oneshot >/dev/null 2>&1

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!