-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method for running silently on Windows startup #110
Comments
Found another method of running Watchlistarr silently in the background. Create the .bat file as detailed in the README then run the .bat file with a VBS script. To create the VBS script create a text file, name it what you like, and type into it:
Change the path to match the location of Watchlistarr on your machine. Change the file extension to .vbs, then put a shortcut to the VBS script in your startup folder. Now you don't see the CMD window. |
Great, glad you figured out a workaround For future reference, the SLF4J errors can be safely ignored, it's basically telling you that the application doesn't know where to put the logs, but in your case since you're running it silently you don't care about where the logs go |
@Kpalsm I'm a newbie, so I just want to make sure I get it right, and others like me can get it:
So the code of the .bat file should be:
And the .vbs file should be:
Did I get this right? |
@SmoothMarx As long as you modify the files as specified, that's correct. Change the bat file to include your sonarr, radarr and Plex API keys, then change the vbs file to include the path to the bat file as it is on your machine (on my PC I keep watchlistarr right on my C drive for simplicity so it's "C:\watchlistarr\run.bat" on mine), then it should work as I've described. My PC's are currently packed up as I'm in the process of moving, so my troubleshooting ability is limited, but if you have any issues reply here again and I'll do my best to help. |
When running the app I get a CMD window telling me:
Trying to run the app silently in the background through Task Scheduler but I think this CMD window popping up with this warning is causing issues. Watchlistarr still runs fine and pulls my user's watchlists as intended after this warning, as long as this CMD window is left open, but when running through Task Scheduler the CMD window will pop up for a moment then exit. Originally this post was a small tutorial for running it this way, if I can get it working I'll repost it.
The text was updated successfully, but these errors were encountered: