NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 22 23 24 25 26 … 159 Next »
keep computer awake to run task

 
  • 0 Vote(s) - 0 Average
keep computer awake to run task
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#1
2012-02-07, 05:56 PM
Anyone know how to keep Win7 64 bit awake to finish a scheduled task? My computer wakes up and 2 minutes later it goes back to sleep without finishing the transcoding.

I've heard about changing the sleep timer or changing the power profile to performance, but I'd like to know if there are other workarounds. Do programs like insomia and caffiene work?

Thanks.
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2012-02-07, 09:02 PM
i have a little util i made called keepwoke.exe that will keep it awake, and on second call close and allow sleep..[for epg updates from scheduler]
if your transcodes are run from batch it should do...
i still need to put it thru extensive testing on win7, but it should be ok..and put code in to stop forced shutdowns as well..
there may be better alternatives out there tho..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#3
2012-02-12, 07:01 PM
so it looks like I need to change the power plan using powercfg. Here's my batch. I'm using an SSD and I think it bluescreens sometimes or that it doesn't fully wake (it seems to be pretty common) so I need to reboot as seen at the end. I'm trying to change it so that it doesn't reboot by changing the setting to never sleep instead of changing power plans. I just don't know what the difference between:

powercfg -x -standby-timeout-ac 60

and

powercfg -change -standby-timeout-ac 60

reference: http://technet.microsoft.com/en-us/libra...S.10).aspx

Can anyone tell me the difference? Also what's the difference beteen standby and sleep? Is this the same as in the power plans when the computer goes to sleep?

BATCH file.............
cd /d"C:\Users\Public\NPVR\Custom_Jam\transcodeDEFAULT\"

echo %Date% %TIME% >>log.txt
echo set high performance >>log.txt

REM high performance
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

echo start transcode >>log.txt

start /low /min /wait /d"C:\Users\Public\NPVR\Custom_Jam\transcodeDEFAULT\" mtranscode.vbs

echo end transcode set Balanced %Date% %TIME% >>log.txt

REM Balanced
powercfg -setactive 381b4222-f694-41f0-9685-ff5bb260df2e

echo END %Date% %TIME% >>log.txt

echo ---------------------------------------------- >> log.txt



cd /d c:\Users\Public\NPVR\Custom_Jam\mcexml\

echo start %Date% %TIME% >>updateepglog.txt

mc2xml.exe -c ca -g k2b7e1

echo start imagegrabelite %Date% %TIME% >>updateepglog.txt


"C:\Program Files (x86)\NPVR\imageGrabLite.exe" --updateepg --zap2it

echo done %Date% %TIME% >>updateepglog.txt

shutdown /r
E6400, 2 GB RAM ,500 GB + 250 GB HD, PVR150+ Adaptec 3610, RW 2 + HIP, Antec 2480 w/ mini ninja ...still using v 0.99
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  32 bit OS, 8Gb Ram. This is for the computer smart people..... RTKAT 6 3,562 2016-02-16, 09:13 AM
Last Post: martint123
  Close NextPVR while running Custom Task McBainUK 17 6,109 2012-01-24, 06:30 AM
Last Post: McBainUK
  Computer no longer enters standby on it's own teookie 14 4,487 2010-03-20, 10:57 AM
Last Post: martint123
  Vista Sleep While running Task Manager Issue - Solved Satori 0 1,376 2009-06-12, 08:59 PM
Last Post: Satori
  Migrating data to another computer soccerdad 2 1,645 2008-06-06, 10:54 PM
Last Post: ACTCMS
  Auto Restarting computer nightly scb147 4 1,972 2008-02-06, 12:09 PM
Last Post: scb147
  Computer won't automatically hibernate jam_zhou 6 2,303 2008-02-02, 10:33 AM
Last Post: Phreakn
  Best reason for computer failure dneprrider 9 3,483 2007-11-21, 12:24 AM
Last Post: stustunz
  Brightness issues with computer playback gplap 5 2,202 2007-11-19, 09:03 PM
Last Post: gEd
  Realtek AC97 freezez computer when enabeling Dolby digital/PCM joche 8 3,291 2007-02-09, 02:06 PM
Last Post: HtV

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode