Cisco Headend System Release 2.7 Installation Guide

Page of 252
 
 
Change the crontab Entry 
4020695 Rev C 
13 
 
Change the crontab Entry 
At any time after installing the DBDS Utilities, you can change the manner in which 
your system deletes excess EMMs by running the setDbOptCron script. When you 
run the setDbOptCron script, you replace the dbOptimizer entry in the crontab file 
with a new dbOptimizer entry. Follow these instructions to run the setDbOptCron 
script. 
1  If necessary, open an xterm window on the DNCS. 
2  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
3  Type  .  /dvs/dncs/bin/dncsSetup and then press Enter. This command 
establishes the environment as a root user. 
Important:  Type the period followed by a space before typing /dvs. 
Note:  The system may also return a message that ends with 
 -o bad options or -o: bad options. Ignore this message; it is normal. 
4  Type setDbOptCron and then press Enter. The following message appears: 
***** 
No EMMs will be deleted during install time 
***** 
***** 
This sets up the cron to automatically delete 
***** 
***** 
EMMs at 4:00 AM every Saturday.   
***** 
Type "i" to set automated EMM deleter based on ippv purchases 
or 
type "a" to set automated EMM deleter based on number of days past:
 
5  Type (as stated in the message in step 4) and then press Enter. The following 
message appears: 
Enter the number of days past, or type "d" for default of 90 days
6  Type the number of days that correspond with how old you want EMMs to be 
before you delete them, or type (for a default value of 90 days), and then press 
Enter. The changing of the crontab entry continues. 
7  When the message The crontab setup is complete appears, type exit and then 
press Enter.  
8  Type exit and then press Enter. The root user logs out. 
9  Type exit and then press Enter to close the xterm window. 
Note:  Your revised dbOptimizer entry in the crontab file will execute every 
Saturday at 4 AM.