Status
Not open for further replies.

battlemaxx

Ars Tribunus Militum
1,511
So, I was wondering if anyone had any cool scripts for stuff that they use to run the various DC clients in and around Arsville.

I'm wondering if anyone has a script for NT/XP/2000/ME/95/98 or Linux that would let me crunch X units under one ID then stop, switch to another ID and crunch another unit, then switch back. Or, run S@H for a WU, then crunch eccp for a while or RC5, then lather, rinse and repeat.

If anyone has any cool scripts to share, post 'em or the links to 'em.
 
I have SETI versions of scripts that would readily adapt on the TLC tips website.

However, other projects don't have the same kind of automation as far as I know. The trick would be to find out how to auto-cancel in many cases. For instance, the "lock" file in Distributed Folding (in Linux) contains the pid (process ID) which would enable it to be killed, at least, at a time certain. Under Linux and with cron, you could then run DF and SETI (pid.sah has its pid), for specified hourly intervals each day.

ECCp109 seems not to reveal its pid, but a clever script could still extract it (e.g. ps -A -f | grep eccp | kill `getfirstnumber.pl`).

Otherwise, if you want to deal with two projects, run one each in different directories. You won't be giving up that much efficiency. If you got six projects, and don't want to deal with six schemes for stuffing away the process ID, then just start up different projects on different days, giving your favorite two days.
 

Gyro77

Ars Tribunus Militum
1,787
On Nt/2000 life is pretty easy if you install all the clients as services with common names when you build the machine. Then you just need a script that will stop/pause a certain service and start/resume the process later. To crunch for different users could be scripted to a point (for SAH, RC5 and ECCp it shouldn't be too hard, others I don't know well enough to comment), but it would require tweaking the script or a reference file of some sort. I have a half completed W2K/NT4 script I was working on for the corporate farm, but haven't had time to finish and test.

Gyro77
 
Status
Not open for further replies.