Job management

This page gives you general information on the purpose and function of jobs. The individual, specific jobs together with their function & configuration options are each described on the corresponding module pages.
--> straight to the jobs in the "Portal & Organisation" module

Jobs serve as periodically running utilities for synchronising and processing data.
Examples of possible jobs:

Jobs can be started automatically, with the help of a so-called trigger. The trigger creates a schedule, so that the jobs can be started as desired (hourly, daily, weekly or monthly, ...). The setting can be configured to the exact day, hour and minute.
If required, the jobs can also be started manually at any time.

Jobs can also have an active or inactive status. With an active status the jobs are started according to the configured trigger. If they are inactive, however, they can only be started manually. The status can be changed at any time.

Monitoring of jobs is made possible by the "Active jobs" view, where all active jobs can be seen at a glance. In addition, with the appropriate parameterisation, the course of the job can be traced with the help of the log entries. The parameterised log level (a defined status during the course of the job, such as error, warning, ...) shows whether a job ran without problems or whether particular problems occurred.
If required, mail dispatch can also be configured here. The mail is sent to a defined person if a log entry with a specified level exists.

Some jobs are standard jobs, which can only be executed as predefined - configurable jobs can be adapted individually to user requirements:
--> creating and editing job configurations

Definitions of terms

Thanks to the flexible configuration option, a standard job can run in several "variations" in one system. Each configured job forms a new unit that can be scheduled separately.

Every module can "contribute" new jobs (both configurable and non-configurable) and thereby extend the "toolbox" of the Webdesk system in the job area.

Trigger

Jobs can be started automatically with the help of a so-called trigger. The trigger creates a schedule, so that the jobs can be started as desired (hourly, daily, weekly or monthly, ...). The setting can be configured to the exact day, hour and minute.
If required, the jobs can also be started manually at any time.
Jobs can also have an active or inactive status. With an active status the jobs are started according to the configured trigger. If they are inactive, however, they can only be started manually. The status can be changed at any time.

Relevant menu items / actions

The following menu items in the Full System Administrator contain the relevant functions for managing and monitoring jobs:

Monitoring / log entries

For the monitoring of jobs it is extremely important that the implementing job classes also log appropriately. This logging information is then usually written to the Webdesk database logs and can then be evaluated via the Monitoring > Log entries view.

Monitoring of jobs is made possible by the "Active jobs" view, where all active jobs can be seen at a glance. In addition, with the appropriate parameterisation, the course of the job can be traced with the help of the log entries. The parameterised log level (a defined status during the course of the job, such as error, warning, ...) shows whether a job ran without problems or whether particular problems occurred.

Recommended log settings

In principle the Loglevel of Jobs in the log settings (Full System Administrator: System--> Log settings) should be set at least to INFO. This ensures that all log information qualified by the programmer as INFO or higher is written to the database log. With batch processing, for example, this should usually log the number of records processed. In any case errors (exceptions) are then definitely logged!
If errors occur in the job, it can be worthwhile raising the logging level for jobs to DEBUG!

Mail dispatch

If required, mail dispatch can also be configured in the jobs. The mail notification contains only the job log, and is sent to a defined person if a log entry with a specified level exists.

Best practice

If many jobs are used in one system, the following basic rules should be observed:

Log entries in the Webdesk database should be deleted regularly (there is a dedicated job for this!), otherwise the Webdesk database can become too full, which can subsequently lead to performance problems.