Quantcast

Forums | MacLife

You are not logged in.

#1 2005-02-25 8:32 pm

mixtli1
Member
From: Kumamoto, Japan
Registered: 2003-11-14
Posts: 2

Running BOINC "automatically"?

Hello all:

The database and servers seem to be back up now. I set BOINC up at home, and it seemed to set up just fine. As soon as I quit the Terminal though, the S@H process stopped (I watched it go down in Activity Monitor). Is there a way to run the BOINC client in the background without having to start it up through the Terminal each time (a la S@H Classic screensaver)?

mixtli


mixtli

Offline

 

#2 2005-02-27 10:16 am

dv
Negusa Negest
Moderator
From: Minneapolis, MN
Registered: 1999-08-30
Posts: 18078

Re: Running BOINC "automatically"?

Go here, read this:

http://www.macaddict.com/setiex/cron.html

Use resedit's directions (scroll down a ways) since they're simpler & clearer.

But it would be simpler just to leave the terminal windows minimized in the dock...


"Now commences the process of cutting off the head, which generally takes from an hour to an hour and a half by an expert workman with a sharp blade." -Reuben Delano, Wanderings and Adventures

Offline

 

#3 2005-03-11 7:17 pm

arkayn
Addicted to TIVO
From: Golden Valley
Registered: 2000-03-02
Posts: 5472
Website

Re: Running BOINC "automatically"?

Even easier now is to use the Boinc Menubar software.

http://boinc.berkeley.edu/dl/BOINC_Menubar_4.25_mac.zip


iMac C2D, 2.0 GHz, OS X 10.6.2, 2.5 GB Ram.

Offline

 

#4 2006-03-16 1:21 pm

canadiancarebear
Member
From: Nova Scotia
Registered: 2006-03-16
Posts: 17

Re: Running BOINC "automatically"?

I leave it minimized.

Last edited by canadiancarebear (2006-03-16 1:21 pm)

Offline

 

#5 2006-03-18 8:28 pm

Kosh
The Enigmatic One
From: Somewhere on or near Earth
Registered: 2003-01-18
Posts: 633

Re: Running BOINC "automatically"?

dvpierce wrote:

Go here, read this:

http://www.macaddict.com/setiex/cron.html

Use resedit's directions (scroll down a ways) since they're simpler & clearer.

But it would be simpler just to leave the terminal windows minimized in the dock...

FYI, I get a 404 with that link, so this might be mentioned there, but I've noticed that if you use cron to start up boinc at boot, that it starts before some of the network services have started, so your machine name shows up as "localhost" in the boinc machine stats.  I've found that creating a StartupItem for it still lets it start up at boot, but after the machine name is set.  I still use an hourly crontab entry to make sure it's running, though.

If anyone wants me to post more detail on setting up a StartupItem to start boinc, let me know.

If you still want to manually start boinc from the terminal, but want it to keep running when you close the terminal window, just put "nohup " in front of the command, and "&" after it.  For example:

Code:

nohup ./boinc -return_results_immediately -redirectio &

The "-redirectio" switch tells boinc to write "normal" output to stdoutdde.txt, which you can tail or open if you want to see what the program is doing.


They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
  -- Benjamin Franklin, 1759

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson