Message boards : Questions and problems : Pause/Resume Question
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 19 Mar 11 Posts: 7 ![]() |
Is there a way to change the "Pause" value? I realize that it will pause it for a certain length, then restart. I checked my messages, and it appears it will Pause for 1 hr., then resume automatically. Other than Suspend or limiting the time when BOINC runs, is there a way to 'pause' longer than an hour, but less than eternity? |
![]() Send message Joined: 29 Aug 05 Posts: 15628 ![]() |
You mean the Snooze? No, it's set at 1 hour. Although the developers have said, they'll look into it being user-definable in a future version (post 6.12). |
![]() Send message Joined: 3 Apr 06 Posts: 547 ![]() |
Is there a way to change the "Pause" value? I realize that it will pause it for a certain length, then restart. I checked my messages, and it appears it will Pause for 1 hr., then resume automatically. You can do it manually. For the local computer, you can write a script/batch file, which will call boinccmd.exe --set_run_mode never [seconds] or boinccmd.exe --set_gpu_mode never [seconds] See boinccmd.exe --help for details. (You might need to set the current dir in the script to BOINC data folder, prior to starting boinccmd.) Peter |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
... Surely the 'current directory' for boinccmd would be the program directory? (boinccmd - though I agree 'same directory as the client' could be worded less ambiguously). In any event, it didn't seem to be necessary when I tried it recently. |
![]() Send message Joined: 29 Aug 05 Posts: 15628 ![]() |
In any event, it didn't seem to be necessary when I tried it recently. Perhaps you have set the BOINC program directory up in the Windows path? As only then Windows will know immediately what you talk about. Also, just to make it clear, using the boinccmd tool in a script or batch file, will not change how Snooze works. Snooze will continue to run only for 1 hour, no matter what values you set for this boinccmd voption. |
![]() Send message Joined: 3 Apr 06 Posts: 547 ![]() |
(You might need to set the current dir in the script to BOINC data folder, prior to starting boinccmd.) (I should have written something like "BOINC-programs-path"/boinccmd.exe, my bad.) No, sorry, I've really meant the data directory, as I remember from the past (not sure which BOINC versions, on WinXP) that otherwise boinccmd was not able to authenticate. Now with recent BOINC version and Win7 it was not necessary as well. Possibly the current boinccmd already gets the path to data dir from registry? (I'm too lazy and busy to check sources for sure. The issue is also somehow mentioned in boinccmd.) In any event, it didn't seem to be necessary when I tried it recently. No, not in PATH. I've just forgot to mention the path to executable, see above. Also, just to make it clear, using the boinccmd tool in a script or batch file, will not change how Snooze works. Snooze will continue to run only for 1 hour, no matter what values you set for this boinccmd voption. Sure, that is true. It is just a separate icon (for batch file for pausing GPU for multiple hours), sitting in my QuickLaunch area, because I was already sick having to suspend my PrimeGrid GPU tasks for an hour multiple times daily :-) (Thanks, Paul Chism, for "kicking me" to finally write the batch file again.) Peter |
Send message Joined: 8 Jul 10 Posts: 10 ![]() |
I would like to suspend and resume boinc by executing a cmd-dos file which will be launched by the windows task scheduler. If I use the time table to organize the cpu running, the work units could be seen in the tasks manager but if click on suspend/snooze the work units are hidden. I would like to launch 2 scripts : - 1 to resume all work units - 1 to suspend all work units And I use the task scheduler to launch them when I want. Is there another solution than doing : boinccmd.exe --set_run_mode never [seconds] Best regards Wilgard |
![]() Send message Joined: 20 Dec 07 Posts: 1069 ![]() |
... but if click on suspend/snooze the work units are hidden. That probably is due to your selecting only to "Show active tasks" (Tasks tab). ;-) Is there another solution than doing : I don't know any other, but why don't you want to use it? It does exactly what you want. Gruß, Gundolf |
Send message Joined: 8 Jul 10 Posts: 10 ![]() |
I would prefer to have something like : boinccmd -suspend before if I want several pause time (depends on the week day) I will have to do several script. But as you said this command do what I want, so I will use it. What is the selection option "Show active tasks", I don't find it (under Windows 7) ? Thanks |
![]() Send message Joined: 20 Dec 07 Posts: 1069 ![]() |
What is the selection option "Show active tasks", I don't find it (under Windows 7) ? It's a button on the Tasks tab of BOINC manager. If you have clicked it, it'll read "Show all tasks". :-) Gruß, Gundolf |
Send message Joined: 8 Jul 10 Posts: 10 ![]() |
Ok but I talked about the Windows Task Manager. In snooze/pause on a right click workdunits are not displayed. |
![]() Send message Joined: 29 Aug 05 Posts: 15628 ![]() |
...the work units could be seen in the tasks manager but if click on suspend/snooze the work units are hidden. When one suspends individual tasks, or suspends BOINC, and one doesn't use "Leave applications in memory", the running applications (working on the tasks) are unloaded from memory. The tasks aren't hidden, they're just not in memory anymore. So, if you want to leave them visible in Windows Task Manager, you have to use the "Leave applications in memory (while suspended)" preference. This uses up RAM and virtual memory, though. Depends on how much by what the applications are using. |
Send message Joined: 8 Jul 10 Posts: 10 ![]() |
Thanks Ageless, So if I start boinc, if I don't check "Leave applications in memory" and I suspend it by executing : boinccmd.exe --set_run_mode never [seconds] All workunits should be suspended and not displayed ? Thanks |
![]() Send message Joined: 29 Aug 05 Posts: 15628 ![]() |
Not in Windows Task Manager. They'll still be available in BOINC Manager->Advanced view->Tasks tab, after clicking "Show all tasks". |
Send message Joined: 8 Jul 10 Posts: 10 ![]() |
Perfect thank you very much |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.