autostart dnet client in OSX?

Posted:
in Mac Software edited January 2014
anyone know how to do it? i have a chance to get my hands on a dual 867 and dual 1Ghz machine. i'd like to be able to pad my stats a hair at this point, and those machines would sure help.



however, i'd like to be able do this without any undue inconvience to the owners of said machines.



so how do i start the client automatically?

Comments

  • Reply 1 of 2
    eugeneeugene Posts: 8,254member
    Assuming you have their permission to run dnet, you can make a script like:



    [code]#!/bin/sh



    if [ -z `/bin/ps wax | /usr/bin/grep dnetc | /usr/bin/grep -v grep` ] ; then

    /path/to/dnetc -hide ; echo "Distributed.net client started"

    else

    echo "Distributed.net client already running"

    fi</pre><hr></blockquote>



    and then have cron run it every once in a while.



    Please note that their electric bills will probably be noticeably higher.
  • Reply 2 of 2
    alcimedesalcimedes Posts: 5,486member
    lol, yeah. not sure if i'm going to yet or not. i think it'd just run during the day. it'll suck a bit more juice, but i'm sure they wouldn't care about that part.



    thanks.
Sign In or Register to comment.