Can't quit Terminal?


log in

Advanced search

Questions and Answers : Macintosh : Can't quit Terminal?

Author Message
Casey Tschida
Send message
Joined: 14 Mar 01
Posts: 3
Credit: 168
RAC: 0
United States
Message 603 - Posted: 23 Jun 2004, 10:32:13 UTC

Hi
Is this right? With SETI "Classic" you could quit the Terminal and the SETI@Home process would continue but with SETI "BOINC" it doesn't. Thanks!

Profile AthlonRob
Volunteer developer
Avatar
Send message
Joined: 18 May 99
Posts: 378
Credit: 7,041
RAC: 0
United States
Message 817 - Posted: 23 Jun 2004, 21:28:01 UTC

Sorry, I'm not an OS X user, so I apologize if this doens't make sense in OS X...

Start a terminal, navigate to the boinc directory, and run boinc with a:

./boinc_3.18_powerpc-darwin-whateveritis &> logfile &

...then type exit and hit enter, close the terminal, and boinc should continue running.

(Rom made a comment when last I told somebody how to do it, I didn't have them logging ... you're welcome, Rom)

Rob

Profile Tom Saxton
Send message
Joined: 18 May 99
Posts: 2
Credit: 10,316,745
RAC: 3,767
United States
Message 946 - Posted: 24 Jun 2004, 2:01:17 UTC

You can also use the "cron" facility to automatically run boinc when your Mac starts up. With the old SETI@Home client, I had it launch the client at startup and then again every hour. That way if the client quits because of some communication problem, it gets relaunched within an hour. If the client was already running, it would just exit. The new client works the same way.

If you don't know how to configure cron, try Googling. MacDevCenter and MacOSXHints have discussed it on their sites.

Tom Saxton

Casey Tschida
Send message
Joined: 14 Mar 01
Posts: 3
Credit: 168
RAC: 0
United States
Message 1266 - Posted: 24 Jun 2004, 18:03:40 UTC

Hi
Thanks! That seemed to do the trick.

Profile Aardvark1917
Send message
Joined: 20 May 99
Posts: 2
Credit: 15,447
RAC: 0
United States
Message 1454 - Posted: 24 Jun 2004, 22:28:52 UTC - in response to Message 817.

...
> Start a terminal, navigate to the boinc directory, and run boinc with a:
>
> ./boinc_3.18_powerpc-darwin-whateveritis &> logfile &
>
> ...then type exit and hit enter, close the terminal, and boinc should continue
> running.
...

Rename the file "boinc" (minus the quotes) so you don't have to keep typing the ludicrously long name. Just click the name under the icon and retype it.

P. T. Rourke
Send message
Joined: 23 May 99
Posts: 1
Credit: 154,963
RAC: 0
United States
Message 2201 - Posted: 26 Jun 2004, 1:41:05 UTC

Even better: create a file called seti.sh

In that file (edit it with your favorite text editor; TextEdit will do), type ./boinc_3.18_powerpc-apple-darwin > logfile.txt &

Save this file in the boinc directory.

In the terminal, go to the boinc directory and type chmod +x seti.sh (that makes the shell script executable).

Now, just type ./seti.sh in the Boinc directory whenever you want to start it.


fillmeup
Avatar
Send message
Joined: 11 Apr 03
Posts: 12
Credit: 38,125
RAC: 0
United States
Message 4939 - Posted: 7 Jul 2004, 8:37:38 UTC

I have also used the "&" at the end successfully to keep the client running when the Terminal is closed (./boinc_3.18_powerpc-apple-darwin &).

I have not used the logfile option. What does that do?

Questions and Answers : Macintosh : Can't quit Terminal?

Copyright © 2014 University of California