|
I feel silly asking, but, does minimserver do automatic rescans?
|
|
13-11-2016, 10:08
Post: #21
|
|||
|
|||
RE: I feel silly asking, but, does minimserver do automatic rescans?
(26-09-2016 11:02)simoncn Wrote: <snipped> Hello, I'm using the command Code: 'echo rescan | /var/packages/MinimServer/target/bin/mscript -d -t 30'but every time the following output (sent by mail): Code: Aufgabe: MinimServer Neustart But if I perform the rescan by two self written script which I trigger from my Mac every rescan is performed with status 0. The two scripts are Code: ssh admin@<diskstation name> '/volume1/skripte/minim.rescan.unix'and Code: echo rescan | /volume1/\@appstore/MinimServer/bin/mscript -t 30So I assume that I have to use also the '\@appstore' in the Synology scheduler?[/code][/quote] Kind regards steamfan |
|||
|
13-11-2016, 17:22
Post: #22
|
|||
|
|||
|
RE: I feel silly asking, but, does minimserver do automatic rescans?
There is no difference between /var/packages/MinimServer/target/bin/mscript and /volume1/@appstore/MinimServer/bin/mscript. These paths both refer to the same file.
Are you seeing the error output when you run the 'echo rescan | /var/packages/MinimServer/target/bin/mscript -d -t 30' command from an ssh login or when you run it from Task Scheduler or both of these? What are your settings in Task Scheduler for running this command? The type should be User-defined script and the user should be admin. The command should not be enclosed in quote marks. With these settings, everything is working for me. Are you sure that the NAS is running and MinimServer is active at the time that the scheduled command is run? If you set the scheduled time to a minute or two in the future and watch the MinimServer log window at that time, does the command run? If you select Run in Task Scheduler to run the command immediately, does the command run? |
|||
|
13-11-2016, 20:25
Post: #23
|
|||
|
|||
|
RE: I feel silly asking, but, does minimserver do automatic rescans?
Hello
thanks for your fast response. Please see my answers below: Quote:Are you seeing the error output when you run the 'echo rescan | /var/packages/MinimServer/target/bin/mscript -d -t 30' command from an ssh login or when you run it from Task Scheduler or both of these? I see the error output only when the command is run by the Task Scheduler. Running it via ssh gives no error. Quote:What are your settings in Task Scheduler for running this command? The type should be User-defined script and the user should be admin. The command should not be enclosed in quote marks. With these settings, everything is working for me. It is a User-Defined Script which is executed by 'admin'. The command is not enclosed in quote marks Quote:Are you sure that the NAS is running and MinimServer is active at the time that the scheduled command is run? If you set the scheduled time to a minute or two in the future and watch the MinimServer log window at that time, does the command run? If you select Run in Task Scheduler to run the command immediately, does the command run? Yes, I'm sure that NAS and MinimServer are running. It is strange (manual execution and timed execution) that I do see no entry in the log files; only MinimWatch displays that MinimServer performs a rescan. Kind regards steamfan |
|||
|
13-11-2016, 21:05
Post: #24
|
|||
|
|||
RE: I feel silly asking, but, does minimserver do automatic rescans?
(13-11-2016 20:25)steamfan Wrote: Yes, I'm sure that NAS and MinimServer are running. It is strange (manual execution and timed execution) that I do see no entry in the log files; only MinimWatch displays that MinimServer performs a rescan. I am not clear from this whether the rescan is happening if: 1) you click Run to run the command immediately 2) you set a timed execution for 2 minutes in the future Please clarify both 1) and 2). |
|||
|
14-11-2016, 16:14
Post: #25
|
|||
|
|||
RE: I feel silly asking, but, does minimserver do automatic rescans?
(13-11-2016 21:05)simoncn Wrote: I am not clear from this whether the rescan is happening if: Yes, a rescan is performed in both cases. Kind regards steamfan |
|||
|
14-11-2016, 17:57
Post: #26
|
|||
|
|||
| RE: I feel silly asking, but, does minimserver do automatic rescans? | |||
|
14-11-2016, 18:25
Post: #27
|
|||
|
|||
RE: I feel silly asking, but, does minimserver do automatic rescans?
(14-11-2016 17:57)simoncn Wrote:(14-11-2016 16:14)steamfan Wrote: Yes, a rescan is performed in both cases. Hello, the time is set to 04:00 Kind regards steamfan |
|||
|
14-11-2016, 18:32
Post: #28
|
|||
|
|||
RE: I feel silly asking, but, does minimserver do automatic rescans?
(14-11-2016 18:25)steamfan Wrote: Hello, Perhaps some other system activity is happening at this time which means that MinimServer is not running. You could try a different time such as 03:00 or 02:00. Another possibility is that the NAS in is sleep mode overnight and MinimServer is not active. |
|||
|
14-11-2016, 20:17
Post: #29
|
|||
|
|||
RE: I feel silly asking, but, does minimserver do automatic rescans?
(14-11-2016 18:32)simoncn Wrote: Perhaps some other system activity is happening at this time which means that MinimServer is not running. You could try a different time such as 03:00 or 02:00. Hello, I've set the time to 00:00 and the command is repeated every three hours. Let's wait and see what happens next. Kind regards steamfan |
|||
|
27-01-2017, 06:55
Post: #30
|
|||
|
|||
|
RE: I feel silly asking, but, does minimserver do automatic rescans?
I'd just like to state that the script works fine now for quite some time.
Interestingly it works like expected after I switched to a newer Diskstation. Here I get every day the confirmation mail. On my older Diskstation, even if setup identically, I do not get the daily status mail after the script has been executed. Kind regards steamfan |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



