macOS - random crashing without active load/users

crontab is similar to “Task Scheduler” in Windows.
open a terminal with the user that hosts plex.
type

crontab -e and afterwards i for insert.

add something similar to this:
(script runs every 2 minutes between 00:00-3:59 and 7:00-23:59, to not collide with the plex tasks and other things.

#Plex watchguard
*/2 0-3,7-23 * * * /Users/plex/scripts/plex_watchguard.sh >/dev/null 2>&1

afterwards use

:x to save and quit.

1 Like