Skip to content

AfterSchedulerJobRun

Script applications that are called by this interface are executed after a job has ended and the comparison between the old and new upload has been completed. This makes the following extensions possible:

  • Export of data:
    This allows a copy of the backup to be created and shared on the network so that the data can be accessed even without an installed client.
  • Interface to external systems
  • Creation of new versions from created backups
  • Starting further jobs This allows a series of backups to be created on one or more devices.
    Running several jobs in succession with the AfterSchedulerJobRun.exe script application can lead to maintenance problems.

Errors when starting or executing the script application have no effect on the job result. The job will continue to be displayed as successful.

Command lines for this script application

Without agents:

ScriptAfterSchedulerJobRun.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the server archive] /at:s

When using agents:

ScriptAfterSchedulerJobRun.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the agent archive] /at:s

Description of the interface file

The [Common], [Component] and [Result] sections are described in General sections of the interface file.

Section Version

The [Version] section shows information about the version with which the newly created backup was compared.

The section keys are described in General sections of the interface file.

Section Specific

In the [Specific] section, the following keys can be configurated:

Key I/O Description Values
Action I Shows what triggered the comparison. 0: The comparison was started manually, by the BackupClient or by an external event.
1: The comparison was performed as part of a cyclical comparison.
PathBackup I Full path of the backup that was created.
Depending on the comparison results, it is possible that this key is not specified.
PathArchive I Full path of the version with which the newly created backup was compared.
This key may be missing if the component does not yet have a version.
VersionVsBackup I Shows the result of the comparison Version <-> Backup. 0: No comparison performed.
1: Error during comparison (Backup or Version)
2: Differences detected
3: No differences detected
BackupVsPreBackup I Shows the result of the comparison Backup <-> previous Backup. 0: No comparison performed
1: Error during comparison (Upload or previous Backup)
2: Differences found
3: No differences found
JobName I Name of the job in the job configuration. Spaces are allowed in the name
JobID I Job ID A 32-character string

Section UploadParameters

The keys in the [UploadParameters] section are always saved in Base64. The data is coded as follows: {ParamId}={Value}\0...{ParamId}={Value}\0\0.

If there are no parameters for a key, the key is not included.

Key I/O Description
Job I Upload job parameters

Section JobConfig

The [JobConfig] section contains the job parameters from the [UploadParameters] section in a readable format.

Key I/O Description
Parameter ID I Value in the [UploadParameters] section