So I've tweaked this a bit. I saw where one of my rigs kept falling back to default core so i set up an -a all -c to refresh the OC as a scheduled task. but now i've put it into the monitor batch and set to run every 5 minutes with the monitor refreshing every 15 seconds
@Echo OFF
:oc
clocktweak -a all -c 980 -y
set /a ct=1
:start
if %ct% gtr 20 goto oc
echo %date% %time%
clocktweak -r
@if errorlevel 1 goto error
ping -n 15 127.0.0.1 > nul
cls
set /a ct+=1
@goto start
:error
@echo something went wrong
:end
i'd like to add the -c value as a variable and have that variable set to different speeds based on temperature. so if it hits a threshold, say 80C it would clock down by 30mhz or so. and then when it gets back to a reasonable range, crank it back up. i just hate doing all the for %%i TOKENS crap you gotta do to parse output. I'm sure for someone who's done more batching it would be trivial to write though.