SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-18-2009, 04:05 AM
ianb ianb is offline
Sage Advanced User
 
Join Date: May 2008
Posts: 77
How to stop SageTV service from batch file

Does anyone know how I can stop (and restart) the sagetv service from within a batch file?
Reply With Quote
  #2  
Old 11-18-2009, 04:37 AM
brewston brewston is offline
Sage Expert
 
Join Date: Apr 2006
Location: Surrey
Posts: 719
There is an example in this thread, never used it myself though

http://forums.sagetv.com/forums/show...4&postcount=16
__________________
Tecra M5, 2 x HD200, 2 x HD300
2 x PCTV 290e
Win 7, Sage 7.1.9, Phoenix 2 STV
Stephane's XMLTV Importer, Digiguide,
Reply With Quote
  #3  
Old 11-18-2009, 07:35 AM
HelenWeathers's Avatar
HelenWeathers HelenWeathers is offline
Sage Icon
 
Join Date: Aug 2008
Location: Miami, Florida
Posts: 1,321
To stop the service include the following line in your batch file:
net stop sagetv

To start the service:
net start sagetv
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT
Reply With Quote
  #4  
Old 11-18-2009, 04:58 PM
SWKerr SWKerr is offline
Sage Icon
 
Join Date: Jun 2008
Posts: 1,178
This is one from a Vista64 machine I did for my brother. Scheduled to run at 4am. It also does a backup of some important files.

**************************************
net stop SageTV

C:
CD \Program Files (x86)\SageTV\SageTV\

copy Wiz.bin C:\Temp /Y
copy Wiz.bak C:\Temp /Y
copy Sage.properties C:\Temp /Y

net start SageTV
***************************************
Reply With Quote
  #5  
Old 11-19-2009, 02:30 AM
ianb ianb is offline
Sage Advanced User
 
Join Date: May 2008
Posts: 77
Thanks for the suggestions - that works great!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute a batch file after an error? eric3a SageTV Customizations 0 08-12-2009 09:37 PM
Close Sage from a batch file? TBacker SageTV Software 1 06-10-2007 12:04 PM
Call Batch File scoful SageTV Studio 1 12-06-2006 10:31 PM
xmltv_uk_rt batch file maxheadroom SageTV United Kingdom 2 10-27-2004 05:12 PM
xmltv batch file problems, please, help me? grot SageTV EPG Service 10 07-12-2003 11:05 PM


All times are GMT -6. The time now is 06:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.