Can't quit Terminal?

Questions and Answers : Macintosh : Can't quit Terminal?
Message board moderation

To post messages, you must log in.

AuthorMessage
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!
ID: 603 · Report as offensive
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
ID: 817 · Report as offensive
Profile Tom Saxton

Send message
Joined: 18 May 99
Posts: 2
Credit: 11,482,227
RAC: 0
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
ID: 946 · Report as offensive
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.
ID: 1266 · Report as offensive
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.
ID: 1454 · Report as offensive
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.


ID: 2201 · Report as offensive
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?
ID: 4939 · Report as offensive

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


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.