Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




645 posts

Ultimate Geek

Subscriber

# 262159 8-Jan-2020 11:13
Send private message quote this post

Im looking for something for Windows 10 to keep my installation of Jellyfin server running - it has a tendency to crash every few days without any real reason.  For some reason I cant get the advanced setup which allows it to run as as service to work correctly - it'll setup fine, run for a while then lock you out of the user login.

 

Ive tried a few programs that seem to have been around for a while but none seem to run all that well on Win10. I think most of the ones I have tried have had no active development in like forever.  Ive looked at a few from here but didnt find any that really just worked the way I want.  CRP just didnt run, ProcessAlive kept losing its settings every reboot (although it did work other than losing the settings), ReStartMe just threw up errors constantly, Srvman didnt seem to recognize the program was running and kept putting it into a stop/start loop.  

 

Any suggestions would be greatly appreciated!  


Create new topic
1708 posts

Uber Geek

Subscriber

  # 2387294 8-Jan-2020 11:55
Send private message quote this post

Create two Bat files and run them using Windows scheduler (do so with admin rights).  You could run this every 24 or 48 hours in the middle of the night.  It obviously doesnt know if the program stopped but you said it only fails after 3 days

 

Close the program

@echo off
cd "C:\Program Files (x86)\location-of-exe\"
timeout /T 5 /nobreak >nul
taskkill /IM programName.exe /F

 

 

 

Open the program

cd "C:\Program Files (x86)\location-of-exe\"
timeout /T 5 /nobreak >nul
Start "" /b programName.exe 


313 posts

Ultimate Geek

Trusted
Lifetime subscriber

  # 2387297 8-Jan-2020 12:06
Send private message quote this post

Ive used ServerDoc in the past with great success. Has a free version to get you going .. if you want to check many items on a PC (or server) the pro version is not much per year and enables some really nice features (like remote restart/control of a service.

 

http://serverdoc.com

 

Cheers

 

Lee


 
 
 
 


1408 posts

Uber Geek


  # 2387304 8-Jan-2020 12:20
One person supports this post
Send private message quote this post

If your app is creating an event in the event log when it crashes, I think one can set task scheduler to restart the app when the event occurs.  





Software Engineer

 


xpd

SysOp
10252 posts

Uber Geek

Mod Emeritus
Trusted
Lifetime subscriber

  # 2387308 8-Jan-2020 12:25
One person supports this post
Send private message quote this post

I cant remember the name of it, but I was trialling a program that turned the exe into a "service", so then you treated it as a Windows Service - so could set the settings that if it died, to restart. Worked well for my needs at the time.

 

Theres a few variations out there, so Google "use program as a service" or similar.

 

 





XPD / Gavin / DemiseNZ

 

Server : i5-3470s @ 3.50GHz  16GB RAM  Workstation : Ryzen 5 3600 / 16GB DDR4 / RX580 4GB    Console : Xbox One

 

Now on BigPipe 100/100 and 2Talk  Add me on Steam   My Lego

 

Current Projects : Arcade Machine          BBS (WIP)


5262 posts

Uber Geek

Trusted
Microsoft

  # 2387310 8-Jan-2020 12:37
Send private message quote this post

xpd:

 

I cant remember the name of it, but I was trialling a program that turned the exe into a "service", so then you treated it as a Windows Service - so could set the settings that if it died, to restart. Worked well for my needs at the time.

 

Theres a few variations out there, so Google "use program as a service" or similar.

 

 

 

 

probably Srvany




645 posts

Ultimate Geek

Subscriber

  # 2387367 8-Jan-2020 13:50
Send private message quote this post

Thanks for the suggestions.  I'll see how it runs since reinstalling it today (wont know for a couple of days!). If that doesnt work I'll try srvany, if that doesnt work I can always schedule a restart of the computer more often.  Just ideally want something that will reload it fairly quickly if it stops.  


3947 posts

Uber Geek

Trusted
Lifetime subscriber

  # 2387368 8-Jan-2020 13:51
Send private message quote this post




Information wants to be free. The Net interprets censorship as damage and routes around it.


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43


Suunto 7 combine sports and smart features on new smartwatch generation
Posted 7-Jan-2020 16:06


Intel brings innovation with technology spanning the cloud, network, edge and PC
Posted 7-Jan-2020 15:54


AMD announces high performance desktop and ultrathin laptop processors
Posted 7-Jan-2020 15:42


AMD unveils four new desktop and mobile GPUs including AMD Radeon RX 5600
Posted 7-Jan-2020 15:32


Consolidation in video streaming market with Spark selling Lightbox to Sky
Posted 19-Dec-2019 09:09


Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.