|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Close Sage from a batch file?
Hi all!
Every overnight I run a bunch of maintenance automatically. At 3AM, a batch file runs to shutdown Sage. I do this because it runs FSE and external programs generally hose FSE until restart. I also do this so backup routines and defrag don fight Sage. After Sage shuts down, the AV definitions update, Sage settings are backed up via another batch file, defrag runs, and finally the system gets rebooted at 5AM. Right now, I use the PSKill utility to close Sage prior to maintenance. The bad part of that is I don't think PSKill is nice to the apps it closes, i.e. it doesn't allow them to shut down on their own terms. This could corrupt the Sage DB and properties files. Is there a better way of shutting down Sage gracefully from a batch file? I'm thinking of using a GUI scripting tool that can record and play back mouse clicks to record the keys and clicks to shut down Sage, but if the button positions change (different skins), I'll have to redo the script. I'm running the latest Sage with SageMC 16x9 on a dedicated HTPC (no server). Last edited by TBacker; 06-10-2007 at 09:12 AM. |
#2
|
||||
|
||||
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Log file for Sage 6.1 freezing/crashing | popechild | SageTV Software | 18 | 12-31-2007 06:30 PM |
Umm - Why is Sage 6.1.8 looking for the wiz file in the beta dir? | tawpgk | SageTV Software | 3 | 04-24-2007 12:27 AM |
Sage DVD Player vs. Zoom/TT Players | Jesse | SageTV Software | 47 | 02-17-2006 02:34 PM |
How-To: Un-archive a Sage Recording... | nielm | SageTV Customizations | 4 | 05-04-2005 02:34 PM |