About: This article walks through how to schedule a job in Construct.
Table of Contents
- Introduction
- Schedule a Job
- View and Manage Scheduled Jobs
- Configure Email Notifications
- Configure Credentials for Scheduled Jobs
- Related Articles
Introduction
Construct can run jobs automatically on a recurring schedule. Scheduling is available only in versions of Construct that run as a Windows service and have the scheduling feature enabled.
To ask whether scheduling is available for your installation, contact Rapid Insight Support.
Before You Begin
Keep the following requirements in mind:
- Scheduling must be enabled. If the scheduling options described in this article are not available, contact Rapid Insight Support.
- The computer or server must be powered on. Construct does not need to be open, but the machine hosting the Construct service must be running at the scheduled time.
- The service must be able to access every required resource. Scheduled jobs run through the Construct Windows service rather than through the open desktop application. Jobs that use network drives, shared folders, databases, or other protected resources may require Windows credentials with the appropriate permissions. See Configure Credentials for Scheduled Jobs.
Schedule a Job
- Open the job you want to schedule.
- From the main toolbar, select Schedule > Job.
-
Note: If the job has not been scheduled before, the Properties window opens. Select Schedule to open the Schedule Viewer. If the job already has a schedule, the Schedule Viewer opens directly.
-
Note: If the job has not been scheduled before, the Properties window opens. Select Schedule to open the Schedule Viewer. If the job already has a schedule, the Schedule Viewer opens directly.
In the Schedule Viewer, select Edit Schedule to create or modify the schedule.
In the Schedule Editor, select a schedule Type, and then configure the available date, day, time, and frequency options. The settings shown will vary depending on the schedule type you select.
Select the applicable day and time in the schedule grid. A selected cell indicates when the job is set to run.
Select Ok to close the Schedule Editor, and then select Save Schedule in the Schedule Viewer.
View and Manage Scheduled Jobs
To review all scheduled jobs, select Schedule > Scheduled Jobs from the main toolbar.
The Scheduled Jobs tab displays jobs that are scheduled, queued, or have previously run. Use the toolbar on this tab to run a job immediately, edit its schedule, remove a scheduled time, or review run information.
Review Scheduled Job Run Details
Construct maintains a history of scheduled job runs and displays jobs that are queued to run.
- Select Schedule > Scheduled Jobs from the main toolbar.
- Select the applicable job in the Scheduled Jobs list.
- Select Run Results Detail from the toolbar.
Configure Email Notifications
Construct can send an email when a scheduled job succeeds or fails. Before configuring notifications, confirm that email delivery has been set up under Tools > Options > SMTP Information.
- From the main toolbar, select Job > Properties... > E-Mail Notifications.
- Select the recipients who should receive an Email on Success, an Email on Failure, or both.
- Note: The available recipients come from the distribution lists configured in Construct. To add or update recipients, select Tools > Options > Distribution Lists.
- Save the job properties.
When the scheduled job runs, Construct sends a notification to the recipients selected for that outcome.
Configure Credentials for Scheduled Jobs
Scheduled jobs run through the Construct Windows service. If no credentials are supplied, the service uses its default Windows service identity, typically Network Service. That identity may not have permission to access network locations or other protected resources that are available to you when you run the job manually.
If a job uses shared folders, UNC paths, databases that rely on Windows authentication, or other secured network resources, save a Windows account that has access to those resources:
- From the main toolbar, select Tools > Options > User Credentials.
- Select Current User to populate the fully qualified domain name (FQDN) for your Windows account.
- Enter your Windows password.
- Save the settings.
Next, configure the job to use the saved credentials when it runs:
- Open the job.
- Select Job > Properties > Options from the main toolbar.
- Select Logon when run by scheduler.
- Save the job properties.
When this option is selected, the scheduler uses the saved Windows credentials—and the permissions associated with that account—when the job accesses network resources.
Note: If your Windows password changes, update the saved credentials in Construct.
Comments
0 comments
Article is closed for comments.