Cisco Headend System Release 2.5 Guide De Montage
Change the crontab Entry
740020 Rev H
19
Change the crontab Entry
Changing the crontab Entry
By default, the DNCS Utilities places an entry in the crontab file of the DNCS for the
system to execute the dbOptimizer program each Saturday at 4 AM. At any time
after installing the DNCS 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 From an xterm window on the DNCS, type su and then press Enter to log in as
system to execute the dbOptimizer program each Saturday at 4 AM. At any time
after installing the DNCS 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 From an xterm window on the DNCS, type su and then press Enter to log in as
root user.
2 Type the root password and then press Enter.
3 Type . /dvs/dncs/bin/dncsSetup and then press Enter. This command
3 Type . /dvs/dncs/bin/dncsSetup and then press Enter. This command
establishes the DNCS 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.
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:
or
type "a" to set automated EMM deleter based on number of days past:
5 Type a (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.
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 d (for a default value of 90 days), and then press
Enter. The changing of the crontab entry continues.
Enter. The changing of the crontab entry continues.