Perfect!, @PhilY With your help I have managed to solve the problem.
It seems that the fundamental piece of is USER: SWITCH CURRENT ACCOUNT.
I just put this functionality right after the cron event and before the logic, and everything went great.
villavicar β created an issue.