if you need a process in an active user session, but you want to run it remotely, then you will have to use a bundle of scheduler and events. You will need to create a task separately in the task scheduler, so that the task always runs in an active user session. Set events as a trigger and you can set up a filter for a keyword. Next, you will only need to remotely trigger the event/log entry.