I am trying to attach a task (B) to run after the completion of another task (A), which I got to work using windows built in feature by right clicking an event and attaching a task to it. However, task B keeps running repeatedly after successfully completing its own task and never stops. The trigger to run task B is upon task A's log with event 102 (also tried 201 and it didn't help).
I've tried to find an option to stop after completing the task once (which is how I think it should be by default), but can't find anything. I haven't been able to find any relevant posts to this problem, only posts referring to their task not running.
For testing, I'm making task A run a batch file to download a file using WinSCP scripting then task B runs a batch file that runs a python script to create a file. I am using windows 10 home edition if it matters.