Cisco DNCS System Release 2.7 3.7 4.2 Installation Guide
Edit the chrontab File for updateOUI Utility
78-4003052-01 Rev G
87
Edit the chrontab File for updateOUI Utility
Follow these instructions to edit the crontab file so that the system runs the
updateOUI utility periodically throughout the day.
These instructions assume that your system has never been configured to run the
These instructions assume that your system has never been configured to run the
updateOUI utility or its earlier version updateOUI.sh.
Note: The command you enter in step 12 of this procedure schedules the updateOUI
Note: The command you enter in step 12 of this procedure schedules the updateOUI
utility to run at 37 minutes after 5 AM, 8 AM, 11 AM, 2 PM, 5 PM, and 8 PM each
day.
Important! Do not attempt this procedure unless you are a skilled user of the UNIX
Important! Do not attempt this procedure unless you are a skilled user of the UNIX
vi text editor.
Editing the crontab File for updateOUI Utility
1 Call Cisco Services to determine the version number of the latest release of
1 Call Cisco Services to determine the version number of the latest release of
SAIDutils code.
2 Open an xterm window on the DNCS.
3 To determine the version of the updateOUI utility that you have on your system,
3 To determine the version of the updateOUI utility that you have on your system,
type pkginfo -l SAIDutils and press Enter.
Note: The "l" in -l is a lowercase letter L.
Result: The system displays your version of the SAIDutils code.
Note: The "l" in -l is a lowercase letter L.
Result: The system displays your version of the SAIDutils code.
4 Does the Version field indicate that you have the latest version of SAIDutils?
If yes, go to step 5.
If no, call Cisco Services for the correct code before continuing with this
procedure.
5 Type crontab -l and press Enter.
Note: The "l" in -l is a lowercase letter L.
Result: The system displays the contents of the crontab file.
Result: The system displays the contents of the crontab file.
6 Does the following entry exist in the file?
37 5,8,11,14,17,20 * * * (. /dvs/dncs/bin/dncsSetup ;
$DNCS_TOP/bin/updateOUI) > /dev/null 2>&1
$DNCS_TOP/bin/updateOUI) > /dev/null 2>&1
If no, continue with this procedure.
If yes, choose one of the following options:
–
–
If the entry is exactly as shown above, you have completed this
procedure.
–
If the entry is similar but does not match, call Cisco Services for
assistance.