You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following example shows an example job that is executed on a remote server per PsExec:

 <job>
    <script language="shell">
        <![CDATA[
 c:\windows\system32\psexec.exe \\servername /i /e /u username /p password script2execute  parameter 
 exit 0
        ]]>
    </script>
    <run_time>
        <period single_start="22:00"
                when_holiday="ignore_holiday"/>
    </run_time>
 </job>

This job will start daily at 22:00 hrs and execute the "script2execute" script on the "
servername" server with username and password and the "parameter" parameters.

  • No labels