Apple system 10: How to run when nobody is logged in

CStarAlgebraist
CStarAlgebraist
Joined: 2 Mar 05
Posts: 2
Credit: 59829
RAC: 0
Topic 188255

How can I arrange to have Einstein@Home running when nobody
is logged in? I have Mac OS X Version 10.3.8. Currently it is running
in a terminal window on my account, but I assume it will be killed
when I log out.

The machine is on for long periods of time with nobody logged in,
and these are the times I most want to have Einstein@Home
running. I once arranged to get a mail server running all the time
(and automatically started whenever the machine is turned on),
but I have forgotten how I did it.

Thanks for any help.

mhe
mhe
Joined: 24 Feb 05
Posts: 11
Credit: 7576
RAC: 0

Apple system 10: How to run when nobody is logged in

Try 'screen'. Maybe it's installed by default.

http://www.gnu.org/software/screen/

Bruce Allen
Bruce Allen
Moderator
Joined: 15 Oct 04
Posts: 1119
Credit: 172127663
RAC: 0

> How can I arrange to have

> How can I arrange to have Einstein@Home running when nobody
> is logged in? I have Mac OS X Version 10.3.8. Currently it is running
> in a terminal window on my account, but I assume it will be killed
> when I log out.
>
> The machine is on for long periods of time with nobody logged in,
> and these are the times I most want to have Einstein@Home
> running. I once arranged to get a mail server running all the time
> (and automatically started whenever the machine is turned on),
> but I have forgotten how I did it.
>
> Thanks for any help.

In the not-too-distant future we'll have a better version of the Mac OSX BOINC client and GUI, that will do this for you. For the time being, you can try just starting the client in the background. On the command line (assuming you are using the bash shell):

nohup ./boinc_4.19_powerpc-apple-darwin > boinc.out 2> boinc.err &

This will start the job in the background. You can now exit the terminal window and log out, and the job will continue to run. It will run until you reboot the machine (or BOINC crashes).

If you use csh I think the right syntax is:

nohup ./boinc_4.19_powerpc-apple-darwin >& boinc.out &

Cheers,
Bruce

Director, Einstein@Home

Comment viewing options

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