Cisco Headend System Release 2.7 User Guide

Page of 282
 
Chapter 19    Assign the Set-Top Host to a Download Group with the cronCVT Utility 
 
 
 
256 
4031374 Rev B 
Important:  The download groups named in this example (1111, 2222, 3333) 
represent the group ID. They are not the group names. 
4  In an xterm window on the DNCS, follow these instructions to add an entry to 
the crontab file so that the cronCVT utility runs automatically. 
a  In the dncs role, type the following command and press Enter.  
crontab -l > /tmp/dncs.cron
 
b  Open the /tmp/dncs.cron file with a text editor. 
c  Add an entry similar to the following. The first example configures the 
cronCVT utility to run every minute, the second example every 10 minutes. 
Every Minute 
* * * * * [ -f /dvs/dncs/bin/dncsSetup ] && (. 
/dvs/dncs/bin/dncsSetup ; /dvs/dncs/Utilities/cronCVT -z 
) > /dev/null
 
Every 10 Minutes 
0,10,20,30,40,50 * * * * [ -f /dvs/dncs/bin/dncsSetup ] 
&& (. /dvs/dncs/bin/dncsSetup ; 
/dvs/dncs/Utilities/cronCVT -z ) > /dev/null
 
d  Save and close the file. 
e  Type the following command and press Enter
crontab /tmp/dncs.cron
 
5  Type 
crontab -l
 and press Enter to verify that the entry was added 
successfully.