One-button shutdown?

Bob Moore
Bob Moore
Joined: 5 Dec 05
Posts: 7
Credit: 25011041
RAC: 31880
Topic 194259

When I need to do other (unattended) things without BOINC cutting back in, where is the one-button exit facility? I hate shutting down all the threads individually (usually 5)

Bikeman (Heinz-Bernd Eggenstein)
Bikeman (Heinz-...
Moderator
Joined: 28 Aug 06
Posts: 3522
Credit: 686219439
RAC: 552581

One-button shutdown?

Quote:
When I need to do other (unattended) things without BOINC cutting back in, where is the one-button exit facility? I hate shutting down all the threads individually (usually 5)

I'm not using Windows atm but isn't there a suspend entry in the context menu of the tray icon for BOINC (right click on tray icon, then make BOINC suspend work altogether)

CU
Bikeman

Gundolf Jahn
Gundolf Jahn
Joined: 1 Mar 05
Posts: 1079
Credit: 341280
RAC: 0

RE: I'm not using Windows

Message 91051 in response to message 91050

Quote:

I'm not using Windows atm but isn't there a suspend entry in the context menu of the tray icon for BOINC (right click on tray icon, then make BOINC suspend work altogether)

CU
Bikeman


Yes, but "Snooze" only works for an hour. [edit] The BOINC manager Activity/Suspend menu option has no timer, but that's not "one-button" :-) [/edit]

The command line interface of BOINC has a "quit" command that is equivalent to the manager's Advanced/Shut down connected client menu option. So, if you insertboinccmd --quitinto a batch file, the BOINC client is stopped upon execution of this file (shortcut on desktop).

Gruß,
Gundolf

Computer sind nicht alles im Leben. (Kleiner Scherz)

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5842
Credit: 109410901168
RAC: 34978710

RE: The command line

Message 91052 in response to message 91051

Quote:
The command line interface of BOINC has a "quit" command that is equivalent to the manager's Advanced/Shut down connected client menu option. So, if you insertboinccmd --quitinto a batch file, the BOINC client is stopped upon execution of this file (shortcut on desktop).


Or if you have BOINC running as a servicenet stop boinc in a batch file will also stop the service in a similar fashion.

Cheers,
Gary.

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5779100
RAC: 0

RE: Or if you have BOINC

Message 91053 in response to message 91052

Quote:
Or if you have BOINC running as a servicenet stop boinc in a batch file will also stop the service in a similar fashion.


I have these as shortcuts on my desktop. No need for a batch file, just right click a free space on the desktop, then:

- New.
- Shortcut.
- In the location bar type %windir%\system32\cmd.exe /k net stop boinc
- Click Next.
- Name the short cut "net stop boinc" (without quote marks)
- Finish.

You can do the same thing for "net start boinc", "net pause boinc" and "net continue boinc"

mikey
mikey
Joined: 22 Jan 05
Posts: 11889
Credit: 1828217331
RAC: 201825

RE: When I need to do other

Quote:
When I need to do other (unattended) things without BOINC cutting back in, where is the one-button exit facility? I hate shutting down all the threads individually (usually 5)

If you just right click the Boinc icon you can then snooze Boinc for an hour or at the bottom of that short list click exit. That will shut Boinc down and you will have to find and double click the Boinc Manager to get it going again. I put that icon on the desktop of all my machines. I shutdown Boinc when I am doing Windows updates just so things don't get confused and scr**ed up! Now if you running Boinc as a service you can't do it this way, you will have to follow others ideas.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.