Make BOINC keep running on Lunux?

Questions and Answers : Unix/Linux : Make BOINC keep running on Lunux?
Message board moderation

To post messages, you must log in.

AuthorMessage
Biker

Send message
Joined: 5 Oct 04
Posts: 2
Credit: 485
RAC: 0
Denmark
Message 33600 - Posted: 7 Oct 2004, 13:02:42 UTC

Hi

Do any of you guys have a script you want to share, that i can call from cron to make sure BOINC is running, and a script that does not start more than one version of BOINC?

If you could help me out here, that would be nice. Im no good at shell programming :)

/Biker
ID: 33600 · Report as offensive
Biker

Send message
Joined: 5 Oct 04
Posts: 2
Credit: 485
RAC: 0
Denmark
Message 33602 - Posted: 7 Oct 2004, 13:03:58 UTC

Argh I mean Linux ;)
ID: 33602 · Report as offensive
Phil Wieland

Send message
Joined: 9 Aug 00
Posts: 47
Credit: 748,038
RAC: 0
United Kingdom
Message 33704 - Posted: 7 Oct 2004, 17:43:42 UTC

I don't bother with any shell script. If boinc is already running a second attempt to start it just reports

2004-10-07 18:21:01 [---] Another instance of BOINC is running

And terminates.

Phil
<BR>Liverpool, UK
<BR>
ID: 33704 · Report as offensive
Profile Trane Francks

Send message
Joined: 18 Jun 99
Posts: 221
Credit: 122,319
RAC: 0
Japan
Message 34023 - Posted: 8 Oct 2004, 8:40:52 UTC

You should be able to run this as a cron job, e.g.,

$ crontab -e
0 1,5,9,13,17,21 * * * cd /home/trane/boinc/ ; ./boinc_3.18_i686-pc-linux-gnu > /dev/null 2> /home/trane/boinc/boincerr

Save your job with :wq to exit the editor. Basically, this is the same method used to run the classic seti@home. To monitor progress, you can look at the slot's state.sah task, watch client_state.xml or download my BOINCprog app @ Trane's Programming Projects (other apps can be found at boinc.dk). An instance should give you a load of 1.0 for each CPU running.

trane

ID: 34023 · Report as offensive

Questions and Answers : Unix/Linux : Make BOINC keep running on Lunux?


 
©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.