Reply To: Difference between "Scan" and Full Scan"

#17617
RigasW
Participant

I start the following script via my crontab;
in my setup the firefly database and the file-system with the songs are hosted on different slugs;
so I first have to test wether the slug with the songs (called “linksys”) is running; if yes, rescanning can start. If not, rescanning is skipped and just a message is given.


#!/bin/bash
if /bin/ping -c 1 linksys
then
/usr/bin/wget http://x:xxxxx@localhost:3689/xml-rpc?method=rescan&full=1
else
echo "Linksys not running ..."
fi