Closed lorenzoromio closed 3 years ago
i want run a script every time the server is updating, automatically
Anytime an upgrade is performed, plexupdate will return exit code 10, so you can just use a wrapper script to run it and do something like
if [ $? -eq 10 ]; then /path/to/my_local_script fi
i want run a script every time the server is updating, automatically