You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

Getting started with JobScheduler:

This first tutorial shows how to run a simple JobScheduler Order Job that executes a shell script which writes "Hello World" in its log file.

JobScheduler Order Jobs can only be run in Job Chains and require an Order (a type of instruction or token) before they can run.

Whilst this approach may at first appear involved it brings a number of advantages over our legacy "Stand-Alone Jobs". The concept behind Order Jobs is explained in more detail in our Concepts for jobs, job chains and orders article.

Requirements

Before starting the tutorials it is assumed that:

  • You have a JobScheduler installed ... version?
  • You have started the JobScheduler with the script ... or as a service ...
  • You have downloaded and unpacked the tutorial files and copied them to your live folder:
    • %SCHEDULER_HOME%\config\live
    • If JobScheduler was installed using the default paths %SCHEDULER_HOME% on a Windows system would be:
      • C:\ProgramData\sos-berlin.com\jobscheduler\myJobSchedulerID\config\live

Objective

This example shows the steps required to run the "Hello World" Order Job and verify that it has run correctly. The job itself and its job chain and order are available to the JobScheduler once you have copied the respective objects to the JobScheduler's live folder as described above.

1 - Examine the JobScheduler Objects in the JobScheduler Object Editor, JOE

  1. Start JOE:
    1. Windows Start Menu
    2. Command line script
  2. Open the Tutorial live folder in JOE:
    1. Use the File > Open Live Folder menu (or Ctrl + D), navigate to the live\tutorials-getting-started folder and click OK
  3. In the left-hand Scheduler Elements pane:
    1. Open the relevant objects by clicking on the triangles to the left of the object names.
      The most important configuration information for each object (at least for this example) is shown in the following screen shots:
      1. Job
      2. Job Chain
      3. Order

 

 

Pages


 
 

Navigation


  • No labels