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 03-02-2009, 10:46 AM
itsanogo itsanogo is offline
Sage User
 
Join Date: Aug 2006
Posts: 62
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
Reply With Quote
  #2  
Old 03-02-2009, 11:38 AM
Razillian's Avatar
Razillian Razillian is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 289
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
Reply With Quote
  #3  
Old 03-02-2009, 12:01 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
It's just SageTv, so

net stop SageTV

net start SageTV

to stop and start them.
Reply With Quote
  #4  
Old 03-02-2009, 01:14 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
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
Reply With Quote
  #5  
Old 03-02-2009, 05:23 PM
itsanogo itsanogo is offline
Sage User
 
Join Date: Aug 2006
Posts: 62
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.
Reply With Quote
  #6  
Old 03-03-2009, 11:55 AM
itsanogo itsanogo is offline
Sage User
 
Join Date: Aug 2006
Posts: 62
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
Reply With Quote
  #7  
Old 03-03-2009, 02:17 PM
Razillian's Avatar
Razillian Razillian is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 289
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
Reply With Quote
  #8  
Old 03-03-2009, 07:15 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Try posting a question to the scripting framework thread. Maybe someone there can walk you through it.
__________________
-- Greg
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
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


All times are GMT -6. The time now is 07:29 AM.


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