Windows > Third Party Plug-ins, Programs, and Skins

ZStats tool to process [Play History] statistics, generate TOP N playlists

<< < (5/9) > >>

DangerJP:
Hi,

I really appreciate this plug-in, great work!

On my setup (Windows 10), I can run ZStats.exe on demand without any problems, by manually clicking on the file.

But when I'm trying to use Windows Task Scheduler to run ZStats.exe overnight, but I get the following error message: "Invalid MCWS credentials - please check username and password" in command window.

Any idea how to fix this?

JimH:
Is MC connected to an MC server?  If so, read about authentication.

DangerJP:

--- Quote from: JimH on November 02, 2023, 07:22:45 am ---Is MC connected to an MC server?  If so, read about authentication.

--- End quote ---

It's on the server itself, not on a client.

zybex:
Hi DangerJP,

You need to set the current folder in the Task, as it defaults to c:\windows\system32 (a new zstats.ini was likely created there).

Solution 1: set the "Start in (optional):" field in the task to the folder where your zstats.ini is (same as the EXE).
Solution 2: add the zstats.ini path+filename as an argument on "Add arguments (optional):"

DangerJP:

--- Quote from: zybex on November 04, 2023, 11:09:49 am ---Hi DangerJP,

You need to set the current folder in the Task, as it defaults to c:\windows\system32 (a new zstats.ini was likely created there).

Solution 1: set the "Start in (optional):" field in the task to the folder where your zstats.ini is (same as the EXE).
Solution 2: add the zstats.ini path+filename as an argument on "Add arguments (optional):"

--- End quote ---

This dit it :)
Thanks Zybex!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version