JS - JobScheduler
  1. JS - JobScheduler
  2. JS-1595

JobScheduler Agent supports PowerShell scripting language for jobs and monitors

    Details

      Description

      PowerShell Support

      • Jobs and monitors that make use of the PowerShell scripting language can be executed with JobScheduler Agent for Windows.
      • The JobScheduler Agent exposes its API to PowerShell job and monitor scripts.
      • PowerShell is added to the supported scripting languages for Windows systems. For ease of use PowerShell can be configured with jobs and monitors by use of the language attribute:
        • Example
          <job>
              <script language = "powershell">
                  <![CDATA[
          	    function spooler_process() 
                      {  
                          $spooler_log.info( "This is spooler_process()" )
                          $spooler_log.info( "TaskID: "+ $spooler_task.id() )
                        
                          return $false
                      }
                 ]]>
              </script>	
              <run_time/>
          </job>
          

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Robert Ehrlich
              Reporter:
              Andreas Püschel
              Approver:
              Santiago Aucejo Petzoldt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: