Cisco DNCS System Release 2.7 3.7 4.2 Installationsanleitung
Appendix A
Add the updateOUI Utility to the Chrontab File
88
78-4003052-01 Rev G
7 Complete the following steps to specify the editor you will use to edit the
crontab:
a Type EDITOR=vi and press Enter.
b Type export EDITOR and press Enter.
a Type EDITOR=vi and press Enter.
b Type export EDITOR and press Enter.
8 Type crontab -e and press Enter. The crontab opens for editing.
9 Press Shift + L (the Shift and L keys at the same time). The cursor moves to the
9 Press Shift + L (the Shift and L keys at the same time). The cursor moves to the
last line on the screen.
10 Press o.
Note: The "o" is a lowercase letter O.
Result: The vi editor opens a line below the cursor. The vi editor is automatically
Result: The vi editor opens a line below the cursor. The vi editor is automatically
in Insert mode.
11 Type the following command on one line; do not press Enter:
37 5,8,11,14,17,20 * * * (. /dvs/dncs/bin/dncsSetup ;
$DNCS_TOP/bin/updateOUI) > /dev/null 2>&1
Important! Note these important points about this command:
Important! Note these important points about this command:
Do not press Enter. Depending upon the size of your window, the command
will wrap to the following line automatically.
Be sure there is a space between the following arguments:
–
–
The period (.) and /dvs
–
The 37 and the 5
–
The 20 and the first asterisk (*)
–
The first and the second asterisk
–
The second and the third asterisk
Be sure there is a space between the ; and the $DNCS.
Note: Call Cisco Services if you are unsure about the formatting of this
command.
12 Press Esc when you have finished typing the command in step 11. The vi editor
exits Insert mode.
13 Complete the following steps to save and close the file.
a Type : (colon)
b Type wq!
c Press Enter. The system saves your edit to the crontab file.
b Type wq!
c Press Enter. The system saves your edit to the crontab file.