Overclock.net › Member Blogs › Bloxcache Boinc Caching Batch File Running Full Instructions

Bloxcache Boinc Caching Batch File Running Full Instructions

To start boinc running on the new dirs...

windows key+R cmd <enter>
cd to your dir.. e.g.

cd c:mp

Run the main batch

bloxcache.bat
Code:
:again
for /l %%i in (1,1,%x%) do (
"c:\Program Files\BOINC"\boinc --dir bloxcache%%i --exit_when_idle --allow_multiple_clients --gui_rpc_port 5000 --master_fetch_interval 60
)
goto again
This loops through the boincs, it will only proceed to the next if that boinc is killed or exits due to --exit_when_idle

Next we run bloxcache-schedule.bat(also on each reboot).

The scheduler batch file uses the AT command to schedule bloxcache-next.bat to kill the current boinc, allowing bloxcache.bat to start the next one. It also schedules itself to run again at the next 23:45

bloxcache-next.bat
Code:
c:\progra~1\boinc\boinccmd --host 127.0.0.1:5000 --quit
ping 127.0.0.1 -n 3
c:\progra~1\boinc\boinccmd --host 127.0.0.1:5000 --set_run_mode always --set_gpu_mode always
bloxcache-schedule.bat
Code:
for /l %%i in (0,1,23) do (
  at %%i:00 c:\bloxcache-next.bat
)
at 23:45 call c:\bloxcache-schedule.bat
Please Note all of the batch files should go in c:\

Update - Oops left boinc1 in instead of boinc in bloxcache.bat I've uploaded a new zip

Comments

There are no comments yet
Overclock.net › Member Blogs › Bloxcache Boinc Caching Batch File Running Full Instructions