Yes, A sample Wildrig batch file for nvidia would read something like:
@echo off
:loop
wildrig.exe --opencl-threads=2 --opencl-platforms=nvidia --print-full --algo sha256csm --url stratum+tcp://stratum.galleoncoin.club:4690 --user 13PqEsnR5mm1QyggSHL2XQmFRQi7d1T23o --pass c=GALE --gpu-temp-limit=90 --gpu-temp-resume=70
if ERRORLEVEL 1000 goto custom
timeout /t 5
goto loop
:custom
echo Custom command here
timeout /t 5
goto loop
of course, the number of threads can be adjusted according to your particular card.