Comments (2)
The actual logging (meaning stored logs, as opposed to the ephemeral output generated when the script runs) is very basic and is handled exclusively in the cronwrapper
script. (this gets symlinked to /etc/cron.daily/plexupdate
so it's easier to find, but the "upstream" name is cronwrapper
)
Anytime an update runs, the full output of plexupdate is written to a temporary file (/tmp/plexupdate.cron.XXXX
where "XXXX" are 4 random characters). If you have syslog support enabled the output is also sent to the logger
utility (part of "bsdutils" on Debian-based distros).
Once the script finishes, if you have email notifications turned on, we literally just cat
the logfile to STDOUT so that cron picks it up and sends the email.
For getting mail support set up on your system, if you just want something simple to relay email through an external provider (i.e. Gmail), you can use "msmtp". It's easy to set up and works well. I used to recommend "ssmtp" but it's a bit outdated and doesn't always work reliably with Gmail anymore.
from plexupdate.
Thanks for the info!
I actually just installed OpenMediaVault on this Plex server and set up SendGrid as my mail server, so I'll check to make sure that's working for me tomorrow.
from plexupdate.
Related Issues (20)
- Debsig error: Origin Signature check failed (deb not signed)
- How can i customize notification? HOT 1
- Can this script be modified for Docker? HOT 1
- Specify cron download directory? HOT 1
- No email notification after an update HOT 2
- update keeps downloading HOT 1
- it was working before fine....but now HOT 4
- naming scheme for Raspberry Pi package / armv7 on Debian has been changed again by Plex HOT 1
- install.sh script has a small logic bug HOT 3
- Arch Updater
- Scheduled update makes PMS inaccessible HOT 61
- Update during DVR quiet time HOT 1
- ARM 64 bit (Raspberry Pi 4)
- Resets service group HOT 2
- Running plexupdate.sh causes segfault in systemd HOT 1
- Rollback?
- Getting an email HOT 4
- Feature Request: Make Installer Automation-Friendly HOT 1
- Just installed, getting an error on run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plexupdate.