Jump to content

Problem with cron


Recommended Posts

I have problem with running seti@home at computer startup. In the readme they say:

If you want setiathome to be started automatically, you can

set up a cron job. Add the following line to your crontab:

 

0 1,5,9,13,17,21 * * * cd <setidir>; ./setiathome -nice 19 > /dev/null 2>

/dev/null

 

Where <setidir> is the directory where the setiathome client is installed.

This cron job will attempt to start the client once every four hours.

If it is already running, the next invocation will do nothing.

If the client is not running, it will be started.

 

ps. my crontab look slightly different (-nice 19 ?? nice -n 19) i modified it a bit to check it every hour:

01 * * * * cd /home/xxx/setiathome308; ./setiathome -proxy cache:3128 -graphic

s nice -n 19 > /dev/null 2> /dev/null

 

But it doesn't work...?

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

put it at the end (or near the end of ) /etc/rc.local (check the file, im not home to verify if thats the correct name).

 

that is what i use to start my distributed.net client at home. i thnk we have an FAQ on that in the FAQ forum. :)

 

ciao!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...