Windows tasks to restart TV Server (1 Viewer)

Digsy

Portal Pro
August 29, 2018
206
21
53
Home Country
Great Britain (UK) Great Britain (UK)
Not sure how useful this is to others but I thought I would share it here anyway.

My EPG grabber (EPG Collector) runs as a scheduled task overnight on my MP2 server machine. This task also puts the PC to sleep afterwards. I had noticed that when waking from sleep the TV Server was always stopped so I wrote another scheduled task to restart it automatically when the PC resumes from sleep.

I also had an error where the TV Server shut down unexpectedly (no idea why). Auto restart seemed to fail so I wrote another scheduled task to watch the MP2-Server service and try to restart it if it ends with an error code=2 (which means it stopped unexpectedly).

I have attached instructions on how to create both tasks.
 

Attachments

  • Create a task to auto restart the MP2 Server after resume from sleep.pdf
    271.7 KB
  • Create a task to auto restart the MP2 Server after unexpected shutdown.pdf
    295.4 KB

Digsy

Portal Pro
August 29, 2018
206
21
53
Home Country
Great Britain (UK) Great Britain (UK)
Sure, no problem. But I might do a better one which is more "click by click" to make it easier to follow. I will try to publish something by the weekend.
 

Users who are viewing this thread

Top Bottom