Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1746

JobScheduler Agent PowerShell Jobs should support profiles

    XMLWordPrintable

Details

    Description

      Current Situation
      The JobScheduler Universal Agent Powershell interface does not set the $PROFILE variable and does not load any profile.

      Desired Behaviour

      • $PROFILE.AllUsersAllHosts, $PROFILE.AllUsersCurrentHost
        • <agent_data>\config\powershell\JobScheduler.PowerShell_profile.ps1
      • $PROFILE.CurrentUserAllHosts, $PROFILE.CurrentUserCurrentHost
        • Agent/Job runs as system account: the same profile as stated above is processed
          • <agent_data>\config\powershell\JobScheduler.PowerShell_profile.ps1
        • Agent/Job runs as user account: the profile is looked up in the Users sub-directory for the current user (indicated by <user_name>).
          • <agent_data>\config\Users\<user_name>\powershell\JobScheduler.PowerShell_profile.ps1

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Andreas Püschel Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: