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

JobScheduler Agent supports PowerShell scripting language for jobs and monitors

    XMLWordPrintable

    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>
          

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: