MinimServer Forum

Full Version: auto rescan on Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, when running MinimServer on Windows 2019, what is the best way to cause MinimServer to periodically or automatically rescan the library? I don't see a feature check-box anywhere in MinimServer config windows.

Thanks
You can create a task in Windows Task Scheduler to do this, as follows:

1) Create a script file named dorescan.cmd containing this line:
echo rescan | "C:\Program Files\MinimServer\bin\mscript.cmd"

2) Run this script file from a command prompt to make sure it causes a MinimServer rescan to happen

3) Open Task Scheduler

4) In Task Scheduler, use Create Task to create a new task

5) In the Action tab, choose 'Start a program' and select the dorescan.cmd file as the program to start

6) In the Triggers tab, choose the schedule that you would like to use for the automatic rescans, for example daily at 02:00

7) Click OK to close Create Task
very helpful, thank you @simoncn. for Linux, specifically Snakeoil OS, are there instructions as well to setup auto rescan?

unrelated, but I just donated; Minimserver is pretty awesome.
The Linux equivalent for automating the running of commands at scheduled times is crontab and cron. Searching for linux cron returns many useful articles such as this one.

Thanks very much for the donation!
Reference URL's