Table of Contents

Index of Samples

These code samples use the adTempus client API to interact with the adTempus server from outside adTempus.

PowerShell scripts are listed separately.

Name Description Languages
Create a new login and assign it to the Administrators role Create a new adTempus login for a Windows user and assign it to a role (security group) C#, VB
Create a recurring schedule for a job Create a recurring schedule for a job C#, VB
Create response to send notification email on job failure Add a Notification Action to a job to send an email message when the job fails C#, VB
Delete a job that may be running Demonstrates how to delete a job through the API C#, VB
Fetch recent job instances Demonstrates how to retrieve recent job instances C#
Find jobs that missed their scheduled executions because they were held Finds jobs that missed executions while they were held C#
Find overridden job variables Looks at all groups, jobs, and steps to find places where Job Variables defined at a higher level have been overridden C#
Get dates for a Holiday Set Demonstrates how to retrieve a Holiday Set and get a list of the holiday dates that it defines C#
Get execution times for all jobs Retrieves scheduled execution times for all jobs on the server C#, VB
Link jobs using a Job Trigger Shows how to link two jobs using a Job Trigger C#
List Job Variables defined for all groups, jobs, and steps Creates a tab-delimited file listing the Job Variables defined for all groups, jobs, and steps C#, VB
Map a drive letter to a UNC path for a job Demonstrates how to add a mapped network drive to a job C#
Query the change log Demonstrates how to query the adTempus Change Log (audit log) to report on tracked changes to adTempus configuration C#
Set Job Variables when submitting a job for execution Demonstrates how to define or override Job Variables when submitting a job for execution. Variables are defined or set at runtime using the JobExecutionSettings.JobVariables collection C#, VB
Submit a job for execution and wait for completion Demonstrates how to submit a job for execution and then wait until execution has completed C#, VB
Terminate all jobs Terminates all running jobs on the server C#, VB
Update subject and message for all Notification Actions Finds all Notification Actions that are run for a failed step and updates them with a new notification subject and message C#, VB
Using the adTempus API from Python Demonstrates how to use the adTempus API from Python Python