Versions Compared

Key

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

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

JobScheduler Operations Center

The JobScheduler Operations Center (JOC) is used to monitor and control the jobs, job chains and orders.
You open JOC in a browser with the URL:

...

where scheduler_host and scheduler_port are the hostname and the TCP port number of the JobScheduler.

Configuration via custom.js

The configuration file custom.js for JOC is stored in the ./config/operations_gui directory.

...

The custom.js of version 1.3.9 contains the following variables:

Cookie Behaviour

Possible values are true and false.

...

Code Block
 _disable_cookie_settings = false;

Language

Set the interface language.
A language file scheduler_lang_sos_lang.js_ (i.e. scheduler_lang_ru.js for Russian) must exist.

...

If you want a user-defined language setting then check the example below.

Automatically Refresh

Possible values are true and false.
If true then the periodical page refresh is active.

...

Code Block
 _update_seconds          = 5;

Views

You can switch between the tabs 'jobs', 'job_chains', 'process_classes' and 'last_activities' as the starting view.

...

Code Block
 _view.jobs               = 'list';
 _view.job_chains         = 'list';

Checkboxes, Radios and Selectboxes

You can specify which checkboxes are checked (true) or unchecked (false).

...

Code Block
 _select_states.show_jobs_select      = 'all';
 _select_states.jobs_state_select     = 'all';

Number of Displayed Orders or Tasks

You can limit the number of orders that are displayed for job chains if the checkbox show orders is checked.

...

Code Block
 _max_last_activities     = 30;

Number of History Entries

Per default the last 50 entries are displayed from the order history and the last 10 entries from the task history respectively.

Code Block
 _max_order_history       = 50;
 _max_task_history        = 10;

Timeout for Terminate

In the top menu you find an item terminte with timeout. Here you set the timeout in seconds.

Code Block
 _terminate_timeout       = 60;

Default for 'Start at'

In start task/order dialogs the start time can be set to equal now per default. You can omit this.

Code Block
 _start_at_default_is_now = true;

Start Task Unforced Now

Enables the additional job menu item Start task unforced now.

Code Block
 _start_next_period_enabled  = false;

Debug Level

Possible values are 0-9.

A new window will open to write the debug information. A popup blocker should allow this.

Code Block
 _debug_level             = 0;

Additional URLs In Extras Menu

You can add arbitrary URLs to the popup menu of the Extras button in the form:

Code Block
 _extra_urls[ 'display name' ] = 'url';

For an example see below.

Aliases

You can set an URL mapping for the remote JobSchedulers if e.g. an Apache proxy configuration is used.

...

Code Block
 _url_aliase[ 'remote_host:remote_port' ] = 'url';

Filters

For more information see How to store filters persistently that would not disappear after cleanup of cookies.

...

Code Block
 _active_project_filter             = 'name of the filter';

User-defined Configuration via my_custom.js

While the configuration file custom.js (see above) for JOC is always processed, you can create an additional configuration file, i.e. my_custom.js, to overwrite the settings from custom.js.

...

The name of the user-defined configuration file is arbitrary and has to be stored in the same directory as custom.js.
You can add multiple files as given in the following example 1.

Example 1

The language of JOC is per default English, however, some users want JOC in, for example, Russian or in French.
Create the file ru.js with the content:

...

You can extend the example by using _extra_urls (see Example 2 below).

Example 2

After completing Example 1 above, add the follwoing to the custom.js datei:

...

If you now call JOC, you will find links for selecting the language in the right top Extras menu.

FAQs

See FAQ by Topic: JOC