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

Parameter command_script_file in sos.scheduler.job.JobSchedulerSSHJob does not work

    XMLWordPrintable

Details

    • Fix
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.3.11.1191
    • JITL Jobs
    • None

    Description

      When using command_script_file, the following error occured:

      error occurred processing parameters: no command (or command_script or command_script_file) has been specified for parameter [command]

      <?xml version="1.0" encoding="ISO-8859-1"?>

      <job title="Launch remote commands or executable files by SSH"
      name="SSHTest">
      <settings>
      <log_level><![CDATA[debug9]]></log_level>
      </settings>
      <description>
      <include file="jobs/JobSchedulerSSHJob.xml"/>
      </description>
      <params>
      <param name="host"
      value="wilma"/>

      <param name="port"
      value="22"/>

      <param name="user"
      value="test"/>

      <param name="command_delimiter"
      value="%%"/>

      <param name="password"
      value="xxx"/>

      <param name="dir"
      value="/home/test/scheduler.ur"/>

      <param name="auth_method"
      value="password"/>

      <param name="command_script_file"
      value="c:\temp\1.sh"/>
      </params>
      <script language="java"
      java_class="sos.scheduler.job.JobSchedulerSSHJob"
      java_class_path=""/>
      <run_time/>
      </job>

      Attachments

        Activity

          People

            kb Klaus-Dieter Buettner (Inactive)
            ur Uwe Risse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified