- JobScheduler Operations Center
- Configuration via custom.js
- Cookie Behavior
- Automatically Refresh
- Checkboxes, Radios and Selectboxes
- Number of Displayed Orders or Tasks
- Number of History Entries
- Timeout for Terminate
- Default for 'Start at'
- Start Task Unforced Now
- Debug Level
- Additional URLs In Extras Menu
- Hide some function or force a confirm
- User-defined Configuration via my_custom.js
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:
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.
For releases < 1.3.9 you find the custom.js in the ./config/html directory.
In the custom.js are some variables which are defaults when the site is loaded but can be overwritten via cookies.
The custom.js of version 1.3.9 contains the following variables:
Possible values are
false then almost all following variables are stored in cookies, so that these settings are only default values and will be overwritten via the cookies.
true then only filters are read from cookies whereat the defined correspondent filters in this file have priority.
Set the interface language.
A language file scheduler_lang_sos_lang.js_ (i.e. scheduler_lang_ru.js for Russian) must exist.
The language files are stored in the ./operations_gui directory beside the ./bin directory.
For releases < 1.3.9 you will find the language files in the ./config/html directory.
If this value is empty then no language files are included and English is used.
At the time of writing (December 2014)
'fr' (French) and
'ru' (Russian) are supported.
If you want a user-defined language setting then check the example below.
Possible values are
true then the periodical page refresh is active.
Interval between the periodical page refresh in seconds.
You can switch between the tabs
'last_activities' as the starting view.
For some tabs you can set the default view mode (
Checkboxes, Radios and Selectboxes
You can specify which checkboxes are checked (
true) or unchecked (
You can specify the value of some radio buttons.
The possible values for last_activities_radios are
You can specify the values of some selectboxes.
The possible values for show_jobs_select are
The possible values for jobs_state_select are
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.
You can limit the number of orders and tasks that are displayed in the last activities tab.
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.
Timeout for Terminate
In the top menu you find an item terminated with timeout. Here you set the timeout in seconds.
Default for 'Start at'
In start task/order dialogs the start time can be set to equal now per default. You can omit this.
Start Task Unforced Now
Enables the additional job menu item Start task unforced now.
Possible values are 0-9.
A new window will open to write the debug information. A pop-up blocker should allow this.
Additional URLs In Extras Menu
You can add arbitrary URLs to the pop-up menu of the Extras button in the form:
For an example see below.
You can set an URL mapping for the remote JobSchedulers if e.g. an Apache proxy configuration is used.
For more information about proxy configuration see How to operate JOC with an Apache Proxy.
Set an alias like this:
JOC display all timestamps in the local time of that host where you open the browser.
Since JobScheduler Release 1.8 a selectbox can used to switch between different timezones.
You can add timezones in the form:
See here the supported time zones in JOC.
With the variable _timezone_preselected you can set the time zone which is used when JOC starts.
Here you can use one of the keys from the above specified time zones. Further there are the keys 'local' for the local time of the browser and 'JobScheduler' for the time zone in which the JobScheduler works.
Hide some function or force a confirm
This feature is available since JobScheduler Release 1.8
In JOC you see functions e.g for start a job or an order etc. (see JOC - Basic Functions List).
Some of these function can be hidden or you can force a confirm before the execution.
For more information see How to store filters persistently that would not disappear after cleanup of cookies.
You can set filters for jobs, job chains and orders like this:
which is effective for jobs, job chains and orders simultaneously.
A selectbox will be displayed with the filter names.
To specify which selectbox option is selected you can use
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 file my_custom.js is processed when you type the URL:
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.
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:
and create the file fr.js with the content:
After this JOC will display text in Russian if you type:
and in French if you type:
You can extend the example by using _extra_urls (see Example 2 below).
After completing Example 1 above, add the following to the custom.js file:
If you now call JOC, you will find links for selecting the language in the right top Extras menu.