Message boards :
Number crunching :
Shutting down pc
Message board moderation
Previous · 1 · 2 · 3
| Author | Message |
|---|---|
|
Zapiao Send message Joined: 29 Oct 01 Posts: 110 Credit: 122,278 RAC: 0
|
That s it. But how can i do it (win vista)? Teach me as i were a child, i m not expert in computers like you dudes. Thanks By your command !!! |
Link Send message Joined: 18 Sep 03 Posts: 833 Credit: 1,807,369 RAC: 1
|
Well, there is shutdown.exe, but I don't know how you might trigger it based on Boinc doing work or not. With this batch file: @echo off goto check_folders :boinc_running echo %date% %time% BOINC running. sleep 300 :check_folders if exist "C:\ProgramData\BOINC\slots\0\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\1\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\2\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\3\boinc_lockfile" goto boinc_running echo %date% %time% boinc_lockfile not found, waiting 60 seconds... sleep 60 if exist "C:\ProgramData\BOINC\slots\0\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\1\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\2\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\3\boinc_lockfile" goto boinc_running echo %date% %time% boinc_lockfile not found, waiting 60 seconds again... sleep 60 if exist "C:\ProgramData\BOINC\slots\0\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\1\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\2\boinc_lockfile" goto boinc_running if exist "C:\ProgramData\BOINC\slots\3\boinc_lockfile" goto boinc_running echo %date% %time% No active WUs, shuting down.>>autoshutdown.txt shutdown -s -t 1 This one is for standard installation of BOINC on Windows 7. The sleep.exe is part of the Windows Server 2003 Resource Kit Tools, extract that somewhere and copy sleep.exe to the Windows directory. If you have many devices, it might me good to increase the number of slots checked, this one I used on a single core machine without a GPU. It will create a autoshutdown.txt file in the directory where it is run from, where you will see, when the machine has shutdown, if you don't need/want it, remove the corresponding line.
|
kittyman ![]() Send message Joined: 9 Jul 00 Posts: 50494 Credit: 1,018,363,574 RAC: 2,276
|
Hmm, looking again, you might be right Mark - I can't think of a simple utility that will shut a PC down when its activity drops below a certain level. Well, there is shutdown.exe, but I don't know how you might trigger it based on Boinc doing work or not. "Learn from yesterday. Live for today. Hope for tomorrow." Albert Einstein "With cats." kittyman
|
rob smith ![]() Send message Joined: 7 Mar 03 Posts: 18644 Credit: 416,307,556 RAC: 863
|
Hmm, looking again, you might be right Mark - I can't think of a simple utility that will shut a PC down when its activity drops below a certain level. Bob Smith Member of Seti PIPPS (Pluto is a Planet Protest Society) Somewhere in the (un)known Universe? |
kittyman ![]() Send message Joined: 9 Jul 00 Posts: 50494 Credit: 1,018,363,574 RAC: 2,276
|
Simple four step process: Not certain, but I think he is asking if there is a way for it to shut down automatically when the work is done.... "Learn from yesterday. Live for today. Hope for tomorrow." Albert Einstein "With cats." kittyman
|
rob smith ![]() Send message Joined: 7 Mar 03 Posts: 18644 Credit: 416,307,556 RAC: 863
|
Simple four step process: Set it to receive "no new tasks" on all projects it is attached to Allow all the tasks on it finish and report Shut down the computer Bid a friend farewell in an appropriate manner Bob Smith Member of Seti PIPPS (Pluto is a Planet Protest Society) Somewhere in the (un)known Universe? |
|
Zapiao Send message Joined: 29 Oct 01 Posts: 110 Credit: 122,278 RAC: 0
|
I guys it s possible to shut down the pc when all the WUS are completed? My older desktop it s at my born house so i want it to shut down when it has no more WUs to complete. By your command !!! |
©2020 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.