Jump to content

New RS Task Creation?


oMikR0n

Recommended Posts

Can you help me how i can create a new RS task which it can restart the service?

For example with an autohotkey script:

 

Run, Stop Recording Service.bat, C:\Path
Sleep, 8000 ;8 second delay
Run, Start Recording Service.bat, C:\Path

 

Stop Recording Service.bat:

net stop "DVBVRecorder"

 

Start Recording Service.bat

net start "DVBVRecorder"

Link to comment

or batch code only with a 5 second delay:

 

net stop "DVBVRecorder"
TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL
net start "DVBVRecorder"

 

None of these suggestions are tested :bye:

Link to comment

Komisch, woher kennst Du meine Konfiguration :rolleyes: :

 

net stop "DVBVRecorder"

PING 1.1.1.1 -n 1 -w 5000 >NUL

net start "DVBVRecorder"

Edited by uglyrooster
Link to comment

And how to restart service from client computer?

 

Let say i watch DVBViewer on client computer, but image freeze, and i must stop and start again DVBViewer from server pc.

 

How to do that?

Link to comment

And how to restart service from client computer?

Quite hard when you have a bunch of network security in the way. Have you tried doing it with Windows Remote Desktop?

Maybe PsTools can work http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

There is a pretty nice solution if you are familiar with autohotkey:

http://www.autohotkey.com/forum/topic21975.html

If running this as a RS task it must be executed silently, cuz otherwise all popups will stall the task.

Link to comment
  • 2 weeks later...

when i watch tv on client( with dvb recording), and image freeze, i use teamviewer( remote software) conect to server pc, restart dvb server.

on server pc i use an batch:

 

NET STOP "DVBViewer Recording Service"

NET START "DVBViewer Recording Service"

 

I do not understand why guys on previous post say to use net stop DVBVRecorder, for all i know, DVBViewer service is:DVBViewer Recording Service

Link to comment

when i watch tv on client( with dvb recording), and image freeze, i use teamviewer( remote software) conect to server pc, restart dvb server.

on server pc i use an batch:

 

NET STOP "DVBViewer Recording Service"

NET START "DVBViewer Recording Service"

 

I do not understand why guys on previous post say to use net stop DVBVRecorder, for all i know, DVBViewer service is:DVBViewer Recording Service

Servicename for DVBVservice.exe is "DVBVRecorder"

Showname is "DVBViewer Recording Service"

Check properties...both works just as well :blink:

Link to comment
×
×
  • Create New...