Thread 'How can I kill Boinc Manager with the command-line?'

Message boards : BOINC Manager : How can I kill Boinc Manager with the command-line?
Message board moderation

To post messages, you must log in.

AuthorMessage
Borgholio
Avatar

Send message
Joined: 6 Apr 09
Posts: 22
United States
Message 24136 - Posted: 6 Apr 2009, 18:13:21 UTC

I'm looking for a way in which I can load, and if need be, kill the BOINC manager by only using the command line. Is there such a way? I know how to load it but I can't kill it. Thanks!


You will be assimilated...bunghole!
ID: 24136 · Report as offensive
Borgholio
Avatar

Send message
Joined: 6 Apr 09
Posts: 22
United States
Message 24138 - Posted: 6 Apr 2009, 19:10:30 UTC - in response to Message 24137.  

Doesn't the protected option disable CUDA?


You will be assimilated...bunghole!
ID: 24138 · Report as offensive
Borgholio
Avatar

Send message
Joined: 6 Apr 09
Posts: 22
United States
Message 24149 - Posted: 7 Apr 2009, 1:47:34 UTC - in response to Message 24147.  

Yes, I meant manager. My two CUDA computers have an annoying issue where sometimes a Seti CUDA task will freeze and not make any progress whatsoever. Running benchmarks usually un-freezes the task but not always. Sometimes I have to exit and restart BOINC to get it going again. I know I can set a script on a timer that starts BOINC using boinccmd, but every time I do it opens another copy of the manager.


You will be assimilated...bunghole!
ID: 24149 · Report as offensive
Borgholio
Avatar

Send message
Joined: 6 Apr 09
Posts: 22
United States
Message 24152 - Posted: 7 Apr 2009, 6:33:01 UTC - in response to Message 24151.  
Last modified: 7 Apr 2009, 7:01:54 UTC

There is no way to start the client or the manager via boinccmd. Boinccmd is strictly for interacting with a running BOINC client which includes stopping the client but not starting the client or the manager.

If your script is starting the manager then it's probably because it issues the command to start the manager rather than the command to start the client.

rem *** client restart script ***
rem
cd "c:\program files\boinc"
boinccmd.exe --quit
boinc.exe



Ok we're getting there, I have a bat file that successfully kills the client and restarts it without opening up a second copy of the boinc manager. Thanks! Next problem, the "boinc.exe" command opens a command line boinc client including all the message text. What would I need to do to have it open the client without everything being visible?

EDIT - Ok I got it. Here's my bat file:

cd "C:\Program Files\BOINC\
boinccmd.exe --quit
ping 1.1.1.1 -n 1 -w 500 > null
taskkill /f /im boincmgr.exe
ping 1.1.1.1 -n 1 -w 500 > null
start boincmgr.exe /s


This stops the BOINC client, kills the BOINC Manager, then restarts the manager to the system tray. The "ping" commands are to pause the batch file for half a second between commands, so that each command has time to complete before the next one executes. Thanks!


You will be assimilated...bunghole!
ID: 24152 · Report as offensive
ProfileGundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 24154 - Posted: 7 Apr 2009, 9:16:35 UTC - in response to Message 24152.  

...Next problem, the "boinc.exe" command opens a command line boinc client including all the message text. What would I need to do to have it open the client without everything being visible?

You could try boinc --detach
From boinc --help:
Usage: boinc [options]
    --detach                        detach from console (Windows)

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 24154 · Report as offensive
Borgholio
Avatar

Send message
Joined: 6 Apr 09
Posts: 22
United States
Message 24157 - Posted: 7 Apr 2009, 9:39:32 UTC - in response to Message 24154.  

...Next problem, the "boinc.exe" command opens a command line boinc client including all the message text. What would I need to do to have it open the client without everything being visible?

You could try boinc --detach
From boinc --help:
Usage: boinc [options]
    --detach                        detach from console (Windows)

Gruß,
Gundolf



What does "detach from console" do exactly?


You will be assimilated...bunghole!
ID: 24157 · Report as offensive
ProfileGundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 24159 - Posted: 7 Apr 2009, 9:47:45 UTC - in response to Message 24157.  

What does "detach from console" do exactly?

It detaches the client from the console window (command line window), so that the client continues to run if that window is closed.

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 24159 · Report as offensive

Message boards : BOINC Manager : How can I kill Boinc Manager with the command-line?

Copyright © 2024 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.