a cron for the command line version


log in

Advanced search

Questions and Answers : Unix/Linux : a cron for the command line version

Author Message
r0b
Send message
Joined: 14 May 02
Posts: 1
Credit: 159,373
RAC: 0
United Kingdom
Message 782978 - Posted: 16 Jul 2008, 10:23:51 UTC

Is this cron ok to check the client is up every 10mins? It seems to be ok, but I thought I'd ask the smart people :-)


1,11,21,31,41,51 * * * * cd /home/r0b/BOINC ; ./run_client > /dev/null 2>&1 &

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,804
RAC: 3
Germany
Message 783025 - Posted: 16 Jul 2008, 17:46:11 UTC - in response to Message 782978.

I think a startup script which startup the boinc client at boot time and also ran in a loop and restart it if it's exiting would be more practicable.
____________

Questions and Answers : Unix/Linux : a cron for the command line version

Copyright © 2014 University of California