QUOTE (Gill & Tony @ January 04, 2025 09:00 am) |
I want the unattended run to stop when there is an error - such as missing logs. That way I can fix the problem and restart the run. Changing the delay won't notify me of the error. I need it to be a message that requires me to do something. |
Go to line 9631-9642 of the macro, and change it to something like:
GSK |
BEGINSUB Name=Checkmissinglogs MFILTER Where="Found AND Cachetype<>'Y' AND Cachetype<>'G' AND code not in(select lParent from Logs where g_FoundLog(lType) AND lIsOwner)" IF $_FilterCount > 0 CANCEL msg=Missing logs detected! You need to fix this now! Macro will be stopped here! ENDIF ENDSUB |