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

Environment variables for date and time with jobs on Agents

    XMLWordPrintable

Details

    Description

      The JobScheduler Agent should provide the following environment variables for shell jobs:

      • Task Start Time
        • SCHEDULER_TASKSTART_DATE_ISO: Date in ISO format, e.g. 2017-12-01T09:13:59+0100
        • SCHEDULER_TASKSTART_DATE: Date in country format as specified by LANG environment variable, e.g. 01.12.2017 09:13:59+0100
        • SCHEDULER_TASKSTART_DAY: Day of task start time
        • SCHEDULER_TASKSTART_MONTH: Month of task start time
        • SCHEDULER_TASKSTART_YEAR: Year of task start time
        • SCHEDULER_TASKSTART_HOUR: Hour of task start time
        • SCHEDULER_TASKSTART_MINUTE: Minute of task start time
        • SCHEDULER_TASKSTART_SECOND: Second of task start time
      • All dates are numeric and padded with 0

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              ur Uwe Risse
              Uwe Risse Uwe Risse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: