|
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
|
|||
|
|||
SageTV Service on a schedule?
I would like to restrain access to the sagetv server during business hours; how can I schedule the service to only run outside those hours?
__________________
itsa Server: Intel Core 2 Quad Q8200 @ 2.33GHz, ASUS P5QL, 3GB RAM, 750 GB USB drive, WinTV-HVR-2250 Dual Tuner 2 SageTV Media Extender: MediaMVP (wired) Software: SageTV 7.0.23 WHS Last edited by itsanogo; 03-02-2009 at 11:03 AM. Reason: typo |
#2
|
||||
|
||||
You can create two scheduled tasks. The first to stop the service at a specific time, the second to start it back up:
net stop "SageTVService" net start "SageTVService" I am at work so I don't know what the service name really is, but you should get the idea.
__________________
blog: www.iamwhen.com |
#3
|
|||
|
|||
It's just SageTv, so
net stop SageTV net start SageTV to stop and start them. |
#4
|
||||
|
||||
Did you mean "service" or "server"? They're not the same thing. Stopping the service means that no recording will happen during those hours. Is that what you want?
Or do you want to allow recording but prevent client computers and extenders from connecting to the server during the blackout hours? That would require leaving the service running but disabling the server component (i.e. the part that accepts client connections). There's a scripting framework that you could use in conjunction with Windows Scheduled Tasks to enable/disable the server on a schedule.
__________________
-- Greg |
#5
|
|||
|
|||
It meant service but if I can restrain access to the server on a schedule, that would be perfect!
I will take a look at the file sage-scripting-framework and see what I can do. [EDIT] That scripting thing is like a foreign language to me! Is there a ready to use script for this? [/EDIT] Thank you!
__________________
itsa Server: Intel Core 2 Quad Q8200 @ 2.33GHz, ASUS P5QL, 3GB RAM, 750 GB USB drive, WinTV-HVR-2250 Dual Tuner 2 SageTV Media Extender: MediaMVP (wired) Software: SageTV 7.0.23 WHS Last edited by itsanogo; 03-02-2009 at 05:59 PM. |
#6
|
|||
|
|||
For now, I am using the "net stop SageTV / net start SageTV" solution. It works ok.
Ideally, I would need to allow recording during the blackout hours but prevent client computers and extenders from connecting to the server, just like GKusnick mentionned. Could someone help me with this?
__________________
itsa Server: Intel Core 2 Quad Q8200 @ 2.33GHz, ASUS P5QL, 3GB RAM, 750 GB USB drive, WinTV-HVR-2250 Dual Tuner 2 SageTV Media Extender: MediaMVP (wired) Software: SageTV 7.0.23 WHS |
#7
|
||||
|
||||
I am assuming you are using Windows so something you could try (I am pulling this out of the air) is to configure the windows firewall to block all inbound traffic to the box. Then use the net start/net stop schedule task to start and stop the windows firewall instead of the Sage service.
Of course when it is stopped you would lack Windows firewall protection and windows would want to do odd popups to let you know it was stopped. If you already have windows firewall turned off or disabled, you lose nothing and *should* get a workable solution.
__________________
blog: www.iamwhen.com |
#8
|
||||
|
||||
Try posting a question to the scripting framework thread. Maybe someone there can walk you through it.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV not creating schedule.txt | jcclow | SageTV Software | 4 | 10-22-2009 04:41 PM |
Schedule restart of Sagetv service | Wakecrash | SageTV Software | 1 | 12-20-2007 06:43 PM |
sage tv service not downloading tv schedule | ml2316 | SageTV EPG Service | 1 | 05-25-2007 03:03 PM |
When running as service why does starting Sage UI say SageTV Service is initializing? | GollyJer | SageTV Software | 2 | 12-27-2006 09:59 AM |
SageTV Recording schedule help. | Fluffdaddy | SageTV Software | 3 | 12-28-2003 12:52 PM |