I am not sure I understand the question / issue fully, and since the screenshot is not showing the complete macros, I apologize in advance if my answer does not really help:
If you would want the recording to stop - for example - 5 minutes after you started the recording, you could add the corresponding "Wait" and "Recording" actions to the macro, which starts the recording.
View attachment 104370
It is important to check "Run macro in parallel to other macros" in this case, so that the "Wait" does not block other macros from executing.
If however you instead want the recording to stop at a specific date or time of day, set up another macro in addition to the macro starting the recording.
The macro for stopping the recording could look something like this:
View attachment 104371
Here the "Run macro in parallel to other macros" option is not important but also should not disrupt anything.
In general I would advise you to questions about plugins in the plugin's discussion thread as this will get your questions answered quicker :)
Good evening everyone, sorry for the question guys, but I can't find a tutorial for changing webcams. I only find it for older versions, not for 1.26.2. Could anyone direct me, even on YouTube there are only old videos. Basically I have to make Obs change webcam every 10 seconds. Can anyone tell...
obsproject.com
Just to mention it:
The "Output Timer" tool, which is bundled with OBS, also allows you to automatically stop a recording after a set amount of time.
View attachment 104373