Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Date calculation can be performed by use of JavaScript and Java:
    • JavaScript provides built-in date calculation capabilities.
    • There is always room for improvement. A good example is the date.js library that is 
    • Java extends the JavaScript capabilities if used with specific libraries for date calculation.
  • Date calculation is an intrinsic topic when considering time zones, daylight saving time, leap years etc. which is why we estimate scripting to be superior to using GUIs when it comes to more complex conditions.

Examples

  • Download: date_calculation.zip
    • Extract the archive to a folder in your JobScheduler installation named ./config/live/issues.
    • The archive will extract the files to a sub-folder date_calculation. 
    • Note that you can store the sample files in any folder you like: however, you will then have to adjust the job parameters accordingly.
  • Assigning JavaScript libraries
    • The following examples make use of JavaScript with the date.js library that can be included with the preprocessing monitors as in the following screenshot.
    • You could use any JavaScript language capabilities or libaries of your own.

      Image Modified

Run a job on the first week of each month

...