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.




649 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
1727 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 


319 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


 
 
 
 


1423 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
   (the practice of real science, engineering and management)


xpd

Arrma Basher
10398 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

 

Arrma RC Owner ? Check out Arrma Addicts Auckland


5289 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




649 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.  


4004 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 »

Intel introduces 10th Gen Intel Core H-series for mobile devices
Posted 2-Apr-2020 21:09


COVID-19: new charitable initiative to fund remote monitoring for at-risk patients
Posted 2-Apr-2020 11:07


Huawei introduces the P40 Series of Android-based smartphones
Posted 31-Mar-2020 17:03


Samsung Galaxy Z Flip now available for pre-order in New Zealand
Posted 31-Mar-2020 16:39


New online learning platform for kids stuck at home during COVID-19 lockdown
Posted 26-Mar-2020 21:35


New 5G Nokia smartphone unveiled as portfolio expands
Posted 26-Mar-2020 17:11


D-Link ANZ launches wireless AC1200 4G LTE router
Posted 26-Mar-2020 16:32


Ring introduces two new video doorbells and new pre-roll technology
Posted 17-Mar-2020 16:59


OPPO uncovers flagship Find X2 Pro smartphone
Posted 17-Mar-2020 16:54


D-Link COVR-2202 mesh Wi-Fi system now protected by McAfee
Posted 17-Mar-2020 16:00


Spark Sport opens its platform up to all New Zealanders at no charge
Posted 17-Mar-2020 10:04


Spark launches 5G Starter Fund
Posted 8-Mar-2020 19:19


TRENDnet launches high-performance WiFi Mesh Router System
Posted 5-Mar-2020 08:48


Sony boosts full-frame lens line-up with introduction of FE 20mm F1.8 G large-aperture ultra-wide-angle prime Lens
Posted 5-Mar-2020 08:44


Vector and Spark teamed up on smart metering initiative
Posted 5-Mar-2020 08:42



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.