SnapStream Forums

Go Back   SnapStream Forums > SnapStream Product Discussions > Beyond TV and Beyond TV Link
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-30-2005, 09:20 AM
Registered User
 
Join Date: Dec 2005
Posts: 5
Schedule system reboot

I know this may sound strange, but I need to reboot my computer periosically to keep it happy. The problem I always have is to reboot it when the BTV is not recording. What I was hoping to be able to do is create a scheduled reboot that would happen outside of the recording times. Basically it would be able to look at the schedule and restart when no shows were being recorded.

I have not been able to find any way to do this in the system, and haven't foudn a thread for anything quite like this. If it's not possible, then I'll do something else, but I would like to do it through here as then I wouldn't need to worry about that odd show at 2am that comes on that I want to record not occurring correctly.

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-30-2005, 09:27 AM
HomeyFour's Avatar
Registered User
 
Join Date: Jan 2005
Location: Sterling Heights, MI
Posts: 1,390
Re: Schedule system reboot

Use PowerOff: http://users.pandora.be/jbosman/applications.html
__________________
HomeyFour
Core 2 Duo E7400 2.8 | 2048MB | Drive Pool: 120GB SATA 500GB SATA | HD HomeRun| PVR-150 x2 | PVR-500 | HD-PVR | Intel G41 DVI->HDMI | Antec Fusion | Samsung 46" DLP | BM | BTV Beta
Link 1:
Core 2 Duo E6300 | 2048MB | GeForce 6200LE | PureVideo | BM
Link 2: Atom 330 | 2048MB | Nvidia ION | PureVideo | BM
Reply With Quote
  #3 (permalink)  
Old 12-30-2005, 11:08 AM
Registered User
 
Join Date: Dec 2005
Posts: 5
Re: Schedule system reboot

Thank you for the application suggestion. My question though, is how to take something like that, and schedule it so that it will not reboot if something is recording.

For example, let's say I setup the program to reboot the computer every day at 2am. The next day though, I have a recording scheduled from 1-3am. I don't want the computer to restart in the middle of the program, so I would either like to have the reboot delayed or cancelled until the next time.

Is there a process that runs while a program is recording that I can tell this program to look for and then wait until it is done before a reboot? If that is the case, then I can have something that would reboot only when the program isn't running, but I don't think this program will let me do that.

Thanks again.
Reply With Quote
  #4 (permalink)  
Old 12-30-2005, 11:25 AM
RiderFan's Avatar
Registered User
 
Join Date: Jun 2004
Location: Canada
Posts: 875
Re: Schedule system reboot

I reboot weekly as well. Just schedule the reboot when you know that you won't have a recording...3-4-5 AM etc. There must be a time in a 24 hour day that you aren't recording.
Even if you reboot during a recording, you'll just lose about 1 min and BTV will start recording again after the reboot.
Reply With Quote
  #5 (permalink)  
Old 01-07-2006, 02:13 PM
Registered User
 
Join Date: Dec 2005
Location: New Hampshire
Posts: 108
Re: Schedule system reboot

What the original poster is looking for (as am I) is a tool that will:

1) look at the recording schedule (usually I manually do this in BTV4 by looking at what's coming up to record)

2) pick a window (let's say we need at least 2-3 hours of open space to do a reboot..incase there's a checkdisk or anything else like that involved) (some people run system cleanup tools)

3) if there's no available 2-3 hour block, no reboot happens. If it's saturday and the next available 2-3 hour block is next thursday, then that's when there will be a reboot.

4) optional functionality would be the ability to run a few other programs before shutdown, such as forced virus scanner update, or apply windows patches

any programmers up to the challenge to write something?
__________________
spyboy

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.
Reply With Quote
  #6 (permalink)  
Old 01-07-2006, 06:36 PM
Xiadix's Avatar
Registered User
 
Join Date: Feb 2004
Location: Dallas, TX
Posts: 317
Re: Schedule system reboot

Ok, I just had an interesting idea. Currently I have a batch file set to reboot my system weekly. I just picked a time when I was least likely to be watching or recording a show. I haven't yet had a show interrupted becasue of a reboot. However, seeing your request it would be nicer.

My idea is to use "if not exist" in my batch file. Based on the fact that when a show is recording there is a showname.xml file. This file is deleted when the show has finished recording. If showsqueeze is enabled, it might not get deleted until after that has run. There are a few *.dat files that are created as well, but I am not sure if BTV cleans them up normally or I set up a batch file to delete them regulary. Those might be able to be used as well. If that is the case, then you could have the reboots not affect watching shows as well.

What I am going to do now is change my batch file to have the "If not exist" search for an xml. If there isn't one, then it will continue to reboot. If there is one, I will try again next week.

KevG
__________________
.--. .... . -. --- -- . -. --- -.
Dell DIMENSION 9200: Pen D 2.8, 3 Gig RAM, WinXP SP3, SPDIF Audio, Nvidia 8400, WinTV 2250, HVR-1600, PVR 250, 1 TB RAID 5
4x Analog Cable -or- 2x QAM Cable -or- 1x OTA HD -and - 1x Cable Box capture

Threads that helped me:

To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts.

-Now using mencoder to cut commercials
Reply With Quote
  #7 (permalink)  
Old 01-08-2006, 04:05 AM
Registered User
 
Join Date: Nov 2003
Location: North Liberty, Iowa
Posts: 3,133
Re: Schedule system reboot

careful, xml will exist if you use smartchapter. better to use *.inprogress.*
Reply With Quote
  #8 (permalink)  
Old 01-09-2006, 11:24 PM
Registered User
 
Join Date: Dec 2005
Posts: 5
Re: Schedule system reboot

Thank you Spyboy, that is right on track with what I am looking for. My thinking though, would be something like this:
  1. You go into recording setup
  2. You choose to create a reboot job
  3. You choose from the reboot job the frequency of the reboot, once a week, once a day, certain days of the week, etc
  4. The job would then be added into the recording list as the lowest priority job. If any other recording conflicted with it, the reboot wouldn't happen
Ideally, a really smart version would be able to reschedule the conflicting job to occur say 15 minutes after the recording finished (or maybe longer), that way you wouldn't potentially miss a reboot (say if you have found you need the weekly reboot, missing it could cause problems later).

Thanks for your input.
Reply With Quote
  #9 (permalink)  
Old 01-10-2006, 01:38 AM
Registered User
 
Join Date: Oct 2005
Posts: 247
Re: Schedule system reboot

Quote:
Originally Posted by woodbe
Thank you Spyboy, that is right on track with what I am looking for. My thinking though, would be something like this:
  1. You go into recording setup
  2. You choose to create a reboot job
  3. You choose from the reboot job the frequency of the reboot, once a week, once a day, certain days of the week, etc
  4. The job would then be added into the recording list as the lowest priority job. If any other recording conflicted with it, the reboot wouldn't happen
Ideally, a really smart version would be able to reschedule the conflicting job to occur say 15 minutes after the recording finished (or maybe longer), that way you wouldn't potentially miss a reboot (say if you have found you need the weekly reboot, missing it could cause problems later).

Thanks for your input.
You can have BTV fire off a process after a recording has been made...So manually add a recording, as the lowest priority, that is really just a reboot recording. The post-recording process does a reboot. Schedule the recording to end at something like h:01 (1 minute after the hour), so the post-recording process takes place in a time slot that has effectively been claimed by the manual recording.
__________________
BTV rig: BTV 4.9.1 (build 6185). Windows XP Pro SP3 on an Asus A8N-SLI deluxe motherboard (Nforce4), AMD A64 X2 4200+, 1GB RAM, Nvidia Geforce 7600GS video card (driver 169.21), Snapstream codecs, 1 Hauppage PVR-150MCE tuner (driver 2.0.43.24103), 2 Hauppage HVR-950 HDTV USB-based tuner sticks (driver 4.6.913.24256) 1 fusion digital tuner.
Reply With Quote
  #10 (permalink)  
Old 01-11-2006, 05:21 PM
Registered User
 
Join Date: Nov 2005
Posts: 15
Re: Schedule system reboot

I actually use Windows Task Scheduler to pop off my reboots, using Shutdown.exe. When you schedule the task you can specify that it not run unless the system has been idle for x amount of time, and if it hasn't been it will retry for up to x minutes. I use it to Hibernate my system at night, then I wake it up before my recordings will start and perform a reboot to clear everything up. It's been working very well for a couple weeks now.

Chuck
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO: Schedule a Periodic Reboot of BTV Only When Idle Mike DiBella Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 8 12-09-2008 01:23 PM
pvr250 causes system reboot beverlyjc Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 3 07-24-2006 05:07 PM
System freezes every night - needs reboot 57ten Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 1 01-27-2006 05:13 PM
schedule reboot during idle time craighackl Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 6 01-26-2006 09:47 PM
System reboot during setup mentor10 Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum 5 02-08-2004 05:38 PM


All times are GMT -6. The time now is 05:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media