Info | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
The Classic JOC user interface is entering retirement:
The JOC Cockpit user interface replaces the Classic JOC interface:
|
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
The custom.js of version 1.3.9 contains the following variables:
Cookie
...
Behavior
Possible values are true
and false
.
...
If this value is empty then no language files are included and English is used.
At this time the time of writing (December 2014) 'de'
(German), 'fr'
(French) and 'ru'
(Russian) are supported.
...
In the top menu you find an item terminte terminated with timeout. Here you set the timeout in seconds.
...
A new window will open to write the debug information. A popup pop-up blocker should allow this.
...
You can add arbitrary URLs to the popup pop-up menu of the Extras button in the form:
...
Code Block |
---|
_url_aliase[ 'remote_host:remote_port' ] = 'url';
|
Timezones
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:
Code Block |
---|
_timezones[ 'display name' ] = 'timezone'; |
See here the supported time zones in JOC.
Example:
Code Block |
---|
_timezones[ 'my company in Berlin' ] = 'Europe/Berlin'; |
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.
Code Block |
---|
_timezone_preselected = 'my company in Berlin'; |
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.
Code Block |
---|
_hide.terminate_jobscheduler = false;
_hide.pause_jobscheduler = false;
_hide.continue_jobscheduler = false;
_hide.restart_jobscheduler = false;
_hide.stop_job_chain = false;
_hide.unstop_job_chain = false;
_hide.stop_job_chain_node = false;
_hide.unstop_job_chain_node = false;
_hide.skip_job_chain_node = false;
_hide.unskip_job_chain_node = false;
_hide.start_job = false;
_hide.stop_job = false;
_hide.unstop_job = false;
_hide.set_job_run_time = false;
_hide.kill_running_task = false;
_hide.remove_enqueued_task = false;
_hide.end_or_continue_or_suspend_tasks_of_api_job = true;
_hide.end_task_of_api_job = true;
_hide.start_order = false;
_hide.add_order = false;
_hide.reset_order = false;
_hide.set_order_state = false;
_hide.suspend_order = false;
_hide.resume_order = false;
_hide.remove_order = false;
_hide.remove_blacklist_order = false;
_hide.remove_setback = false;
_hide.set_order_run_time = false;
_hide.add_schedule = false;
_hide.modify_schedule = false; |
Code Block |
---|
_confirm.terminate_jobscheduler = false; _confirm.pause_jobscheduler = false; _confirm.continue_jobscheduler = false; _confirm.restart_jobscheduler = false; _confirm.stop_job_chain = false; _confirm.unstop_job_chain = false; _confirm.stop_job_chain_node = false; _confirm.unstop_job_chain_node = false; _confirm.skip_job_chain_node = false; _confirm.unskip_job_chain_node = false; _confirm.start_job = false; _confirm.stop_job = false; _confirm.unstop_job = false; _confirm.set_job_run_time = false; _confirm.kill_running_task = false; _confirm.remove_enqueued_task = true; _confirm.end_or_continue_or_suspend_tasks_of_api_job = false; _confirm.end_task_of_api_job = false; _confirm.start_order = false; _confirm.add_order = false; _confirm.reset_order = false; _confirm.set_order_state = false; _confirm.suspend_order = false; _confirm.resume_order = false; _confirm.remove_order = true; _confirm.remove_blacklist_order = false; _confirm.remove_setback = false; _confirm.set_order_run_time = false; _confirm.add_schedule = false; _confirm.modify_schedule = false; |
Filters
For more information see How to store filters persistently that would not disappear after cleanup of cookies.
...
After completing Example 1 above, add the follwoing following to the custom.js datei file:
Code Block |
---|
_extra_urls['english'] = 'http://[scheduler_host]:[scheduler_port]/index.html'; _extra_urls['russian'] = 'http://[scheduler_host]:[scheduler_port]/index.html#ru'; _extra_urls['french'] = 'http://[scheduler_host]:[scheduler_port]/index.html#fr'; |
If you now call JOC, you will find links for selecting the language in the right top Extras menu.
FAQs
See also:See
...