Zschimmer GmbH Impressum und Kontakt

Scheduler     Erste Seite

  XML     API     Register


logo

HTTP Server und Web Services

Web Services

Der Job Scheduler kann die Ausführung von Jobs und Job-Ketten als Web Services kapseln. Dazu nimmt der Job Scheduler über den eingebauten HTTP-Server SOAP Anfragen entgegen.

Mit <web_service> können Web Services eingerichtet werden.

Verwendung und Beispiele zur Konfiguration sind in der Dokumentation »Web Service Tutorial« beschrieben.

Bedienung über einen Browser

Der Job Scheduler verfügt über einen HTTP Server und stellt HTML-Seiten zu seiner Bedienung bereit. Sie können den Job Scheduler über einen Browser (Microsoft Internet Explorer und Firefox) steuern. Geben Sie z.B. die Adresse http://localhost:4444 ein. localhost kann auch ein anderer Rechnername sein, und 4444 ist die konfigurierte TCP-Portnummer des Job Schedulers.

Siehe <config tcp_port="…">.
Siehe factory.ini (Abschnitt [spooler], Eintrag html_dir=…).

The user interface is described in the "Built-In User Interface" section of this chapter (below).

Zugriffsschutz

Der Job Scheduler lässt nur TCP- und HTTP-Verbindung zu von Rechnern, die mit <allowed_host> die Erlaubnis bekommen haben.

Darüber hinaus kann HTTP-Authentifizierung mit dem Element <http.authentication> vereinbart werden.

Protokolle mit einem Browser zeigen

Während der Job Scheduler ein Protokoll schreibt, können Sie es sich anzeigen lassen. Sie sehen stets den neuesten Stand.

Die HTML-Oberfläche des Job Schedulers bietet hierfür die entsprechenden Operationen an. Der Job Scheduler verwendet folgende URLs für Protokolle:

Hauptprotokoll http://localhost:4444/show_log?
Jobprotokoll http://localhost:4444/show_log?job=jobname
Taskprotokoll http://localhost:4444/show_log?task=task_id
Auftragsprotokoll http://localhost:4444/show_log?job_chain=Job-Kette&order=order_id

localhost ist localhost oder 127.0.0.1 oder der Name des Rechners, auf dem der Job Scheduler abläuft.

Job-Beschreibung

Die Job-Beschreibung aus <description> kann mit diesem URL abgerufen werden:

http://localhost:4444/job_description?job=job

Die Beschreibung wird in HTML codiert erwartet.

Built-In Graphical User Interface

The Job Scheduler can be operated using its own, built-in, web-based graphical user interface (GUI). Instructions for accessing this interface were provided in the "Operation with a Browser" section of this chapter (above).

This interface is automatically installed and updated with the Job Scheduler installation package.

The Job Scheduler GUI is configured in the custom.js file, which is to be found in the Job Scheduler installation directory\config\html directory

This interface is intended for the operation of the Job Scheduler - i.e. starting, monitoring and stopping the Job Scheduler itself, jobs & job chains, orders, and any locks and Job Schedulers operating in a cluster.
This interface should not be confused with the Job Scheduler Editor, which is a GUI used to configure the Job Scheduler itself, jobs & job chains, orders using XML.
The Job Scheduler GUI should also not be confused with the Managed Jobs Administration interface, which is a part of the Job Scheduler Managed Jobs package. The Managed Jobs Administration interface is a GUI for the creation and monitoring jobs, job chains & orders and comes with a user administration. Further information about the Managed Jobs Administration interface can be found in the »Managed Jobs Documentation«.

When first opened, the Job Scheduler GUI appears as shown in the screenshot below and comprises three areas:

The main menu for the operation of the Job Scheduler is shown in the next screenshot:

Detailed information about the state of one of the jobs listed in the main working area of the interface can be obtained by clicking on the name of the job. This causes the right hand part of this area to divide and additional areas showing status information about the job, about the task and about the taks queue to be displayed as can be seen in the screen shot below:

The job status area also contains a menu providing the main commands necessary for controlling the job as shown in the next screen shot:

The "Show description" item in the menu opens a new browser window containing the job description. Job descriptions such as the one shown below can be written with the Job Editor. This editor combines documentation of the job, its configuration and a generate function, where the job can be newly generated after changes to its configuration have been made. It is so integrated in the Job Scheduler installation that the Job Scheduler automatically takes account of changes in a job configuration without having to be restarted.

The documentation for the Job Editor can be read in the tutorial.

Information about tasks carrying out a job is shown in the task area of the interface as shown in the next screen shot:

A task menu is provided as shown in the following screen shot:

Information about any errors occuring in the execution of a job is shown in the interface job area:

If the Job Scheduler is part of a Job Scheduler cluster, providing backup, monitoriung and fail-over features, a corresponding "Cluster" menu tab will be shown in the main working area of the interface. As can be seen in the next screen shot, a button is provided to a menu for configuring cluster related aspects of the Job Scheduler operation:

The principles for using the Job Scheduler GUI and which have been described in conjunction with the features shown in the preceeding screen shots are followed for the aspects of the interface which have not been shown in the screen shots. This means, for example, that use of the job chain part of the interface should follow intuitively.

Detailed information about the configuration and operation of the Job Scheduler can be found in the following sections of this documentation:


Software- und Organisations-Service GmbH

Zuletzt geändert von aa, 2008-10-21