![]() |
|
|||||||
| SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Automated Sage Server Restarts
Since the implementation of plugin installation via UI and the SageTV server restart requests in the UI, I would like to request a new feature. When you get prompted to restart, it would really be nice if there were 2 additional options. 1 would be an automated restart at the next time there are no recordings happening. A second would be an automated restart overnight or at a particular date/time. Seems to me this should be easy to implement. I realize they have locked down the code for 7.0 and are only doing bug fixes but maybe 7.1.
__________________
Server: Intel Core 2 Quad Q9550 (2.83GHz, 1333FSB), Asus P5B Deluxe MB w/Gb LAN, 4GB AData RAM, WHS, PVR-500 (NTSCx2), HDHomeRun x2 (4 QAM), HDPVR x2, 6.7 TB data pool, Comskip/SJQv3, HD200x3, SD-MVPx2 |
|
#2
|
|||
|
|||
|
I've got a little java program that does this... I run it from cron on Linux or Task Scheduler on Windows and it just polls the sagetv server every 5 mins checking to see if a reboot is necessary and if it is it then checks if there's a free 15 mins available to do a reboot. If so, it restarts the Sage server (just the Sage app, not the actual whole system reboot). It requires the sagex-api and RMI must be enabled.
I could probably clean it up and make it available, if interested.
__________________
Twitter: @ddb_db Server: Intel Q6600 Quad Core, 2GB RAM, 1 x 80GB OS HD (WinXP SP3), 2 x 750GB recording drives (RAID 1) NAS: unRAID server 4.7.0; 3TB Capture: 2 x Colossus, 2 x PVR-250 STB Controller: 1 x USB-UIRT Software:Java 1.6.0_33; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
|
#3
|
||||
|
||||
|
Oh yes, I am also interested in that. Would it be possible to add an option to also reboot the whole machine?
__________________
Oliver Kötter ------------ Check this thread for importing German TV Data into SageTV Using SageTV 7.1.9, Java 1.6.0_24 Win7 Home Premium on an Asus M4N78-AM Mainboard, AMD Athlon II X2 215, 4 GB RAM, 500 GB HDD, 2xTechnoTrend S-2400 as Network Encoder (LM DVB Smart Recorder), ATI Radeon HD 3450 with analog TV-Out on good old CRT TV (100Hz) My avatar shows the world's best composer!!! |
|
#4
|
|||
|
|||
|
Quote:
It was never meant to be a released plugin type of thing just something I whipped up for myself, but I'll clean it up and make it available.
__________________
Twitter: @ddb_db Server: Intel Q6600 Quad Core, 2GB RAM, 1 x 80GB OS HD (WinXP SP3), 2 x 750GB recording drives (RAID 1) NAS: unRAID server 4.7.0; 3TB Capture: 2 x Colossus, 2 x PVR-250 STB Controller: 1 x USB-UIRT Software:Java 1.6.0_33; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
|
#5
|
||||
|
||||
|
Quote:
Great suggestion on the reboot option too. Although, I have a weird problem where my NIC card will alternate 100 Mbps to 1 Gbps after each reboot. So in order to keep 1 Gbps, I have to reboot twice. Have not found a solution to that yet.
__________________
Server: Intel Core 2 Quad Q9550 (2.83GHz, 1333FSB), Asus P5B Deluxe MB w/Gb LAN, 4GB AData RAM, WHS, PVR-500 (NTSCx2), HDHomeRun x2 (4 QAM), HDPVR x2, 6.7 TB data pool, Comskip/SJQv3, HD200x3, SD-MVPx2 |
|
#6
|
|||
|
|||
|
My solution is not automated but does the trick. You have to do it manually. I run a headless server and miss the Other Program pluggin from SageMC where it I used to run scripts to reboot the server.. So wrote my own for v7 to reboot my server, shut it down etc. Will develop it more if there is intrest. It runs scripts on the server. At the moment the file paths are hard coded. But just could be easily changed.
Dean
__________________
Install 1: DVB-S2 x4 HD-300 x2 HD-200 x1 HD-100 x1 Install 2: DVB-T x4 DVB-T2 x2 HD-300 x1 HD-200 x1 |
|
#7
|
|||
|
|||
|
Executable jar for auto detected restarts now available.
__________________
Twitter: @ddb_db Server: Intel Q6600 Quad Core, 2GB RAM, 1 x 80GB OS HD (WinXP SP3), 2 x 750GB recording drives (RAID 1) NAS: unRAID server 4.7.0; 3TB Capture: 2 x Colossus, 2 x PVR-250 STB Controller: 1 x USB-UIRT Software:Java 1.6.0_33; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Program jumps ahead or restarts | cte | SageTV Software | 0 | 07-30-2009 05:23 PM |
| Sage 6.2 beta computer restarts | mclement60 | SageTV Beta Test Software | 1 | 08-14-2007 05:44 PM |
| Automated Sage backups...please be gentle! | Shield | SageTV Customizations | 9 | 08-12-2007 09:16 AM |
| Sage TV my generator automated | roxy99 | SageTV Customizations | 6 | 07-03-2007 12:19 PM |
| Sage boggs and computer restarts??? | T3rry | Hardware Support | 11 | 11-21-2005 07:42 PM |