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

Shell jobs with min_tasks attribute are endlessly repeated

    XMLWordPrintable

Details

    Description

      Current Situation

      • The min_tasks attribute is used exclusively for API jobs. However, it could be misconfigured for shell jobs with unwanted results.
      • If you configure a shelll jobs with the min_tasks attribute then the job start is endlessly repeated.
        <job  min_tasks="1">
            <script  language="shell">
        		<![CDATA[
        echo Job is running
        		]]>
        	</script>
        </job>
        

      Desired Behavior

      • The JobScheduler should ignore the min_tasks attribute in a shell job.

      Note

      • In a Java API job the min_tasks attribute can be used to improve the performance as it pre-loads the JVM, see Performance Optimization for API jobs
      • The min_tasks attribute must not be used for shell jobs

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              oh Oliver Haufe
              Oliver Haufe Oliver Haufe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: