Originally Posted by
Martin_Davies
Just need to fix my CRON jobs to re-run the scan at midnight and I'll be done.
Well it took a while, but if you want to automatically re-scan the media on your system then you should:
- Choose or set up a user with a valid login account (don't use minidlna as it does not have a shell in which to run Cron tasks)
- Under that user's Crontab enter the Cron task
Code:
#
# Sudo command at 04:00 and 16:00 every day to re-scan the media directories for miniDLNA
0 04,16 * * * minidlna -R -f /etc/minidlna.conf > /dev/null
#
- Make sure that /etc/default/minidlna is set up with that username and group too.
Code:
# User and group the daemon should run as
USER="martin"
GROUP="martin"
Bookmarks