Run Plex Media Scanner as cronjob

/etc/cron.d/run-plex-scanner

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

*/10 * * * * plex export LD_LIBRARY_PATH=/usr/lib/plexmediaserver && /usr/lib/plexmediaserver/Plex\ Media\ Scanner --scan --force

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.