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

JobScheduler start script writes number of enqueued tasks to output

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.10
    • None
    • None

    Description

      Current Situation

      • When using the start script command jobscheduler.cmd|.sh status jobs then output is created such as

        Job Scheduler instance: scheduler19
        .............. version: 1.10.0-SNAPSHOT
        ......... operated for: apmacwin:4444
        ........ running since: 2015-08-25T10:45:08Z
        ................ state: running
        ............. cpu used:
        ........... job chains: 29
        ................. jobs: 66
        ............... orders: 20
        ..... remote instances: 0, connected instances:

      Desired Behavior

      • The output of the start script should include the number of enqueued tasks such as

        Job Scheduler instance: scheduler19
        .............. version: 1.10.0-SNAPSHOT
        ......... operated for: apmacwin:4444
        ........ running since: 2015-08-25T10:45:08Z
        ................ state: running
        ............. cpu used:
        ........... job chains: 29
        ................. jobs: 66
        ....... enqueued tasks: 2
        ............... orders: 20
        ..... remote instances: 0, connected instances:

      Implementation

      • Add the following line to the stylesheet ./config/scheduler_jobs_status.xsl:
        • ....... enqueued tasks: <xsl:value-of select="sum(jobs/job/queued_tasks/@length)"/>

      Attachments

        Activity

          People

            oh Oliver Haufe
            ap Andreas PĆ¼schel
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10 minutes
                10m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m