Configuration
The configuration file custom.js for the operationsGui is stored in the ./operations_gui directory beside the ./config directory.
For release < 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:
_disable_cookie_settings
Possible values are true
and false
.
If 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.
If true
then only filters are read from cookies whereat the defined correspondent filters in this file have priority.
_disable_cookie_settingsh1. false;
_sos_lang
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.
_sos_lang '';
_update_periodically
Possible values are true
and false
.
If true
then the periodically update is on.
_update_periodically h1. false;
_update_seconds
Interval between the periodically updates in seconds.
_update_seconds 5;
_show_card
You can switch between the tabs 'jobs'
, 'job_chains'
, 'process_classes'
and 'last_activities'
as the beginning view.
_show_card h1. 'jobs';
_view
For some tabs you can set the default view mode (list
or tree
).
_view.jobs 'list'; _view.job_chains h1. 'list';
_checkbox_states
You can specify which checkboxes are on (true
) or off (true
).
_checkbox_states.show_tasks_checkbox true; _checkbox_states.show_job_chain_orders_checkboxh1. 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.
_radio_states.last_activities_radios 'all';
_select_states
You can specify the value of some selectboxes.
For show_jobs_select are 'all'
, 'standalone'
and 'order'
possible values.
For jobs_state_select are 'all'
, 'running'
, 'stopped'
, 'running_or_stopped'
and 'other'
possible values.
_select_states.show_jobs_select h1. 'all'; _select_states.jobs_state_select 'all';
_max_orders
You can set how much orders are shown in the job chains if the checkbox show orders is checked.
_max_orders h1. 10;
_max_last_activities
You can set how much orders and tasks are shown in the last activities.
_max_last_activities 30;
_max_order_history and _max_task_history
Per default the last 50 entries are shown from the orders history and last 10 from the tasks history respectively.
_max_order_history h1. 50; _max_task_history 10;
_terminate_timeout
If you have a cluster with backup or distributed Job Schedulers then you can terminate the cluster with a timeout in seconds.
_terminate_timeout h1. 60;
_start_at_default_is_now
In start task/order at dialogs are set the start time equals now per default. You can omit this.
_start_at_default_is_now true;
_start_next_period_enabled
Enables job menu item Start task unforced now.
_start_next_period_enabled = false;