...
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:
...
Cookie Behaviour
Possible values are true
and false
.
...
If true
then only filters are read from cookies whereat the defined correspondent filters in this file have priority.
No Formatcode |
---|
_disable_cookie_settingsh1.settings = false; |
...
Language
Set the interface language.
A language file scheduler_lang_sos_lang.js_ must exist.
If this value is empty then no language file is tried to include and english is used.
At this time 'de'
(german), 'fr'
(french), 'ru'
(russian) and 'es'
(spanish) is supported.
No Formatcode |
---|
_sos_lang = ''; |
...
Automatically Refresh
Possible values are true
and false
.
If true
then the periodically update is on.
No Formatcode |
---|
_update_periodically h1. = false; |
...
Interval between the periodically updates in seconds.
No Formatcode |
---|
_update_seconds = 5;
|
...
View
You can switch between the tabs 'jobs'
, 'job_chains'
, 'process_classes'
and 'last_activities'
as the beginning view.
No Formatcode |
---|
_show_card h1.= 'jobs'; |
_view
For some tabs you can set the default view mode (list
or tree
).
No Formatcode |
---|
_view.jobs = 'list'; _view.job_chains h1. = 'list'; |
...
Checkboxes, Radios And Selectboxes
You can specify which checkboxes are on (true
) or off (true
).
No Formatcode |
---|
_checkbox_states.show_tasks_checkbox = true; _checkbox_states.show_job_chain_orders_checkboxh1.checkbox = true; _checkbox_states.show_job_chain_jobs_checkbox = false; _checkbox_states.show_order_history_checkbox h1. = false; _checkbox_states.show_task_error_checkbox = false; _checkbox_states.show_error_checkbox h1. = false; |
_radio_states
You can specify the value of some radios.
For last_activities_radios are 'all'
, 'orders'
and 'tasks'
possible values.
No Formatcode |
---|
_radio_states.last_activities_radios = 'all';
|
...
You can specify the value of some selectboxes.
...
For jobs_state_select are 'all'
, 'running'
, 'stopped'
, 'running_or_stopped'
and 'other'
possible values.
No Formatcode |
---|
_select_states.show_jobs_select h1. = 'all'; _select_states.jobs_state_select = 'all'; |
...
Number Of Displayed Orders Or Tasks Resp.
You can set how much orders are shown in the job chains if the checkbox show orders is checked.
No Formatcode |
---|
_max_orders h1.= 10; |
...
You can set how much orders and tasks are shown in the last activities tab.
No Formatcode |
---|
_max_last_activities = 30; |
...
Number Of History Entries
Per default the last 50 entries are shown from the orders history and last 10 from the tasks history respectively.
No Formatcode |
---|
_max_order_history h1.= 50; _max_task_history = 10; |
_terminate_timeout
Timeout For Terminate
In the top menu you find a terminte with timeout. Here you set the If you have a cluster with backup or distributed Job Schedulers then you can terminate the cluster with a timeout in seconds.
No Formatcode |
---|
_terminate_timeout h1. = 60; |
...
Default For 'Start at'
In start task/order at dialogs are set the start time equals now per default. You can omit this.
No Formatcode |
---|
_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 be 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 on the top in the form:
Code Block |
---|
_extra_urls[ 'display name' ] = 'url';
|
Aliase
You can set an URL mapping for the remote schedulers if i.e. an Apache proxy configuration is used.
For more information about proxy configuration see Running the Operations GUI behind an Apache Proxy
Set an alias in the form:
Code Block |
---|
_url_aliase[ 'remote_host:remote_port' ] = 'url';
|
Filter
You can set filters for jobs, job chains and order in the form
Code Block |
---|
_job_filter[ 'filter name' ] = 'regular expression';
_job_chain_filter[ 'filter name' ] = 'regular expression';
_order_filter[ 'filter name' ] = 'regular expression';
|
or use
Code Block |
---|
_project_filter[ 'filter name' ] = 'regular expression';
|
which is effective for jobs, job chains and orders simultaneously
A selectbox will be displayed with the filter names.
To set which selectbox option is selected you can use
Code Block |
---|
_active_job_filter = 'name of the filter';
_active_job_chain_filter = 'name of the filter';
_active_order_filter = 'name of the filter';
|
or
Code Block |
---|
_active_project_filter = 'name of the filter'; |
For more information see How_can_I_store_filters_persistent_which_are_not_disappear_after_cleanup_cookies? How can I store filters persistent which are not disappear after cleanup cookies?