miniDLNA update database on raspberry pi

The defaults settings in the config for minidlna do not seem to work for most people on raspberrypi.
I decided I never really use the pi around 4am, so a cron job for forcing the database to update when i'm asleep wouldn't interrupt any videos mid stream.

edit crontab (sudo nano /etc/crontab)
The following line would cause the database to update at 4am every morning:

0 4 * * * sudo service minidlna force-reload

I now have an updated database every day that i can stream to my TV, Laptop and RasBMC!