adTempus lets you use user-written scripts to extend and customize the behavior of adTempus jobs.
You can create jobs that execute scripts to accomplish external tasks (e.g., running a script that handles FTP download of data), but you can also use scripts to customize the behavior of adTempus. Scripts can be used:
As conditions, to determine whether a job or job step should run.
As actions, to perform quick tasks within adTempus, such as changing environment variables.
To dynamically determine the command-line parameters for a program to be executed by adTempus.
Scripts are represented within adTempus by the Script object, which allows you to share scripts among jobs and users, and to restrict the use of scripts with security settings.
adTempus supports two broad categories of scripting languages:
Windows Script Host (WSH) scripts such as VBScript and JScript
.NET scripting using VB.NET and C#
The language you choose is a matter of your preference: any of the supported scripting languages can be used for any script within adTempus, and all have access to the same built-in adTempus features.
When you use VB.NET or C#, you have access to the full power of the .NET Framework, enabling you to implement complex functionality much more easily than with traditional WSH scripting.
Global variables and procedures available to adTempus scripts
Returning a result from a script
Setting environment variables and job variables with a script