Cisco Headend System Release 2.7 インストールガイド
Verify the crontab Entries
4036631 Rev B
87
3 Complete the following steps to log on to the xterm window as root user.
a Type su - and press Enter. The password prompt appears.
b Type the root password and press Enter.
b Type the root password and press Enter.
4 Type echo <new # of days> > /dvs/dncs/bin/CED.in and then press Enter. The
system changes the value stored in the CED.in file.
Example: To set the value to our recommended default value of 90 days, type
echo 90 > /dvs/dncs/bin/CED.in and then press Enter.
Example: To set the value to our recommended default value of 90 days, type
echo 90 > /dvs/dncs/bin/CED.in and then press Enter.
5 Type exit and then press Enter to log out the root user.
Adding Custom crontab Entries
We preserve old crontab entries in the /var/spool/cron/crontabs.previous directory
on the DNCS and the Application Server. Examine these old crontab entries for each
user on the DBDS system (dncs, root, informix). Then consult with the system
operator to determine whether any of these old entries should be retained. If
necessary, add the required crontab entries to the current crontab file.
1 Open two xterm windows and log on to each as root user.
2 Follow these instructions in one xterm window.
on the DNCS and the Application Server. Examine these old crontab entries for each
user on the DBDS system (dncs, root, informix). Then consult with the system
operator to determine whether any of these old entries should be retained. If
necessary, add the required crontab entries to the current crontab file.
1 Open two xterm windows and log on to each as root user.
2 Follow these instructions in one xterm window.
Note: This xterm window will contain the pre-upgrade crontab entries for each
user.
a Type cd /var/spool/cron/crontabs.previous and then press Enter.
b Type less root and then press Enter.
user.
a Type cd /var/spool/cron/crontabs.previous and then press Enter.
b Type less root and then press Enter.
Result: The system displays the contents of the pre-upgrade root crontab
file.
file.
3 In the second xterm window, type crontab -l root and then press Enter. The
system displays the contents of the current root crontab file.
4 Compare the pre-upgrade and post-upgrade crontab entries. If the pre-upgrade
crontab file contains site-specific, unique entries, consult with the system
operator regarding whether those entries are still needed.
operator regarding whether those entries are still needed.
5 Are there unique crontab entries that need to be retained?
If yes, follow these instructions.
a Type crontab -l > /tmp/root.cron and then press Enter. The system
a Type crontab -l > /tmp/root.cron and then press Enter. The system
copies the root crontab file to /tmp/root.cron.
b Type vi /tmp/root.cron and then press Enter.
c Add any unique entries to the /tmp/root.cron file and then save the file.
d Type crontab /tmp/root.cron and then press Enter. The edited
/tmp/root.cron file becomes the new root crontab file.
e Type crontab -l root and then press Enter to verify that the crontab file