Scheduled Jobs

Overview

At the heart of UNIFYBroker lies a powerful scheduling engine. Scheduled jobs exposes this scheduling engine to allow for any number of jobs to be scheduled to perform required tasks through the use of PowerShell scripts.

Configuration

The Scheduled Job can be configured from the Logging tab and requires the following by way of configuration:

Image 3845

You can then add schedules to the job from the logging tab.

Image 3846

Attribute Description
Name The display name of the log job which is used for identification throughout UNIFYBroker.
Script The script to be executed when the job is run. The following parameters are made available to the script:
  • $logger - Allows log entries to be raised, see Logging for details on using this object.
  • $components.ConfigurationEngine - Provides access to the configuration engine.
  • $components.AgentEngine - Provides access to the agent engine.
  • $components.ConnectorEngine - Provides access to the connector engine.
  • $components.AdapterEngine - Provides access to the adapter engine.
  • $components.GatewayEngine - Provides access to the gateway engine.
  • $components.LDAPEngine - Provides access to the LDAP engine.
  • $components.EntityRepository - Provides access to the data/entity repository.
  • $components.AdapterEntityRepository - Provides access to the adapter entity repository.
  • $components.ChangesRegisterEngine - Provides access to the change detection engine.

Is this article helpful for you?