Scheduling Server Electronic Updates That Run Automatically
For server Electronic Updates, Code Insight enables you to configure updates to run automatically at a specified frequency as described in this section. (Note that you can always force a server or local update between the scheduled updates. See Running a Server Electronic Update Manually or Running Local Electronic Updates for details.)
Alternatively, you can disable regularly-scheduled automatic updates altogether and manually run the updates as needed. (See Disabling Automatic Server Electronic Updates for details.)
To schedule an automatic server Electronic Update, do the following:
-
On the Code Insight Dashboard, click administration. The Administration page appears with a list of side tabs. (You can also access this page by clicking the icon
in the upper right corner of the Code Insight web page to open the Code Insight main menu. From this menu, select ADMINISTRATION.)
-
Select the Electronic Updates tab.
-
Click Server for Electronic Update Type.
-
From the Update Frequency dropdown list, select the frequency at which to run the Electronic Update:
- Never---If you select Never, Electronic Updates will not run automatically. (Selection of this option hides any additional dropdown lists.) If you need to run an update, you can do so manually as needed. See Running a Server Electronic Update Manually for details.
- Daily---If you select Daily, a second dropdown list is displayed, prompting you to choose the time of day when you want the Electronic Update to occur.
- Weekly---If you select Weekly, both the "time of day" and the "day of week" dropdown lists are displayed. Select the time of day and the day of the week when you want the Electronic Update to occur.
-
When you have finished setting the execution frequency for the update, select Save Schedule. A prompt appears to notify you that your edits have been saved.
Electronic Updates will run automatically based on the schedule you have set. For more information, see About Electronic Update Jobs.
About Electronic Update Jobs
At the scheduled time for the Electronic Update, a PDL Update job is triggered (that is, added to the Code Insight Jobs queue). It will execute immediately as long as no other jobs in the queue are in an Active state (that is, currently running). If jobs are active, the update will be queued in a Scheduled state and automatically run after these active jobs complete. Additionally, once the Electronic Update is added to the Jobs queue (as Active or Scheduled), any new or already scheduled jobs remain in the Scheduled state until the update is complete. The scheduled jobs will then run in appropriate queue order.
Two exceptions exist to this Jobs queue process. The first is that one or more active scans might still be running at the point when the Electronic Update is placed in an Active state. The active update waits for these scans to complete before it actually executes. The second is that, if a Library Refresh job is already scheduled when the Electronic Update is added to the Jobs queue, the Library Refresh takes priority and runs first while update is placed in a scheduled state until the refresh completes. The Electronic Update is then run.
You can use the following methods to monitor the Electronic Update process:
-
Once an Electronic Update is added to the Jobs queue, you can monitor its start, execution, and completion in the queue, as described in the “Monitoring the Code Insight Jobs Queue” section in the Code Insight User Guide.
-
While the is Electronic Update is running, you can track the progress of each of its phases by clicking the link in the Electronic Update notification message that is displayed on each Code Insight page (see Tracking the Progress of an Electronic Update).