Message boards : BOINC client : NET (stop, start) in 5.10.20
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Aug 06 Posts: 20 ![]() |
Hi, XP SP1 I have not seen any posts addressing this - please excuse me if I missed them. I rely heavily on NET STOP and NET START commands. These do not work on my 5.10.20 installation. Can anybody tell me if they still do or how I can stop/start the service via a batch file please? Many thanks, David |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
Stupid question: have you installed as a service? net stop/start is only for services. Would it be acceptable to make BOINC stop computing but stay loaded in RAM? In that case, try 'boinc_cmd --set_run_mode always' to resume computing, and the same with 'never' to pause it. |
Send message Joined: 14 Aug 06 Posts: 20 ![]() |
Stupid question: have you installed as a service? net stop/start is only for services. Not stupid - some don't understand these things :-) Yes - I always install as a service. It is listed as a service too. I would rather not stay in RAM if possible. David |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
What error(s) do you get attempting to use net commands? By the way, many times I paused BOINC because I needed to do a RAM-intensive operation. BOINC apps got swapped and didn't cause any problem. They did take a while to get out of swap when I resumed it, but it was less than the CPU time I would have lost (CPDN checkpoints infrequently) if I had taken it out of RAM. |
Send message Joined: 14 Aug 06 Posts: 20 ![]() |
What error(s) do you get attempting to use net commans? Nothing happens at all. Nudda. Using Admin Tools>Services Stop Service doesn't work either. The syntax for the .bat file command - presumably that is only: boinc_cmd --set_run_mode never I have tried that and NET boinc_cmd --set_run_mode never but neither work also. I'm asking because this message client seems to want to be \\ happy with posts :-) David |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
boinccmd is probably not on your PATH (by the way, it's without the underscore on Windows, I forgot that). You need "C:\\Program files\\BOINC\\boinccmd.exe" --set_run_mode never EDIT: ARGH, imagine those are single slashes >.> Stupid forum. |
Send message Joined: 14 Aug 06 Posts: 20 ![]() |
boinccmd is probably not on your PATH (by the way, it's without the underscore on Windows, I forgot that). You need "C:\\Program files\\BOINC\\boinccmd.exe" --set_run_mode never No luck (sigh). Can I simply install 5.4.11 to roll back? David |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
No luck (sigh). Yes you can; but you should also try reinstalling 5.10.20. Net commands work for me. |
Send message Joined: 14 Aug 06 Posts: 20 ![]() |
No luck (sigh). As in net start boinc net stop boinc ?? |
Send message Joined: 19 Jan 07 Posts: 1179 ![]() |
Yes you can; but you should also try reinstalling 5.10.20. Net commands work for me. Yep, those work perfect for me. And also, boinccmd works under any install mode, both service and single user (and remotely too, if you set the authentication correctly). |
Send message Joined: 14 Aug 06 Posts: 20 ![]() |
Yes you can; but you should also try reinstalling 5.10.20. Net commands work for me. thanks for that link - useful. I have net stop/start working now - oops - had not realized install had placed BOINC Manager in my startup directory which was obviously interfering. Closing it stopped processing - but - now it doesn't stop processing when I close it if I start it manually ... odd ... allowing the net command to work OK. David |
![]() Send message Joined: 2 Mar 06 Posts: 12 ![]() |
I believe that is the intended behavior of the service mode install... In other words the processing is supposed to be independant of the manager. What I think may have happened is that you stopped the service, and then opened the manager. I believe that in this case, the manager will start a new instance of the backend that is not tied to the service, thus appearing to break the net start/stop commands. Did you by chance set the service to not start automatically? |
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.