2 Replies Latest reply on Aug 20, 2015 1:30 PM by Tyler Johnson

    Specify which user/computer starts a scheduled task.

    Tyler Johnson

      Was hoping to get some resolution on a question I can't seem to find an answer to anywhere.

       

      We implemented a scheduled task that runs nightly.  The task is set to execute on a dedicated task host machine.  The task host also has a dedicated user that we use for executing almost all our tasks.  Now this task is also configured to allow for any user to call manually via a context menu.  So I originally had the task set up for success notifications to go to the user who initiated the task.

       

      This was working well because when the task ran at the scheduled time it was being initiated by the task host machine user, whose notifications are set to be received by the admin, and the manual execution notifications are received by the user who called it.  However last week we had need of a remote access computer that was exclusively for accessing the vault by a certain user.  Now, my scheduled task is being initiated by this computer/user instead of the task host machine user.

       

      I'm guessing this means scheduled tasks randomly chose a user to start the task from currently logged in users?

       

      So to my question.

       

      Is there a way to specify when the task runs at the scheduled time to specify the user it be started by?

      How about while also allowing for it to be executed manually by any user?