Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
auto rescan on Windows
07-06-2019, 02:56
Post: #1
auto rescan on Windows
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
Find all posts by this user
Quote this message in a reply
07-06-2019, 20:30
Post: #2
RE: auto rescan on Windows
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
Find all posts by this user
Quote this message in a reply
16-07-2019, 03:39
Post: #3
RE: auto rescan on Windows
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.
Find all posts by this user
Quote this message in a reply
16-07-2019, 09:43
Post: #4
RE: auto rescan on Windows
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!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)