-
Junior Member
Cron script to ensure client is always running!
Has someone created a cron script that will ensure that the client is always running? (Restarted in case of a server update or something?) I'm going away for a couple of months now, and a lot of cycles will be wasted if the clients stops after a week or so..
Frederik
-
Senior Member
Re: Cron script to ensure client is always running!
Originally posted by Larson[h]
Has someone created a cron script that will ensure that the client is always running? (Restarted in case of a server update or something?) I'm going away for a couple of months now, and a lot of cycles will be wasted if the clients stops after a week or so..
Frederik
This is the crontab that I run on my dual G4. Since the OSX client has a memory leak I restart the client every 24 hours. If you only have one processor just delete the extra parts.
@reboot cd /Applications/distribfold1;rm foldtrajlite.lock; ./foldit
@reboot cd /Applications/distribfold0;rm foldtrajlite.lock; ./foldit
55 3 * * * cd /Applications/distribfold0; rm foldtrajlite.lock
0 4 * * * cd /Applications/distribfold0; ./foldit
55 4 * * * cd /Applications/distribfold1; rm foldtrajlite.lock
0 5 * * * cd /Applications/distribfold1; ./foldit
Clint
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules