Giter Club home page Giter Club logo

Comments (4)

demonbane avatar demonbane commented on June 12, 2024 2

@crakerjac If you already have mailutils installed and working, this shouldn't be necessary. You may want to double-check /etc/aliases and make sure that the user that the cronjob is running as (presumably root), has an email address associated with it. Cron should then automatically send the log in case of any errors without you having to manually call mail.

from plexupdate.

christian-0s avatar christian-0s commented on June 12, 2024

I did not try this specifically on plexupdate, but I think you should configure the mail address in cron (which by default sends via mail the command output, if there is any, to the owner of crontab, root in this case). Probably you'll need msmtp, in arch wiki there's a good tutorial on how to configure it.

from plexupdate.

ljunglex avatar ljunglex commented on June 12, 2024

Hi,

I can confirm that it works, I used msmtp / msmtp-hta for this. Currently getting output mailed to myself from /etc/cron.daily/plexupdate.

Wasn't easy figuring out all the correct configuration, but that's more a crontab issue.

A tip is to manually force (echo) some output when troubleshooting in the "plexupdate.sh" and then run the daily crontab manually: /etc/cron.daily/

from plexupdate.

crakerjac avatar crakerjac commented on June 12, 2024

I created my own branch to send me an email via 'mail' command. I don't know if it's something they want in master, so I'm maintaining it on my own branch.
master...crakerjac:plexupdate:master

from plexupdate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.