HP XC System Software Administration Guide Version 3.0

1. Log in as superuser on the head node.
2. Make a copy of the root crontab file into a temporary file named /tmp/root_crontab:
# crontab -l >/tmp/root_crontab 2>/dev/null
3. Use the text editor of your choice as follows:
a. Open the temporary file.
b. Append the following lines to the temporary file:
# Download NIS maps according to update frequency.
20 * * * * /usr/lib/yp/ypxfr_1perhour
40 6 * * * /usr/lib/yp/ypxfr_1perday
55 6,18 * * * /usr/lib/yp/ypxfr_2perday
c. Save your changes and exit the text editor.
4. Replace the existing root user's crontab file with the temporary file:
# crontab /tmp/root_crontab
5. Remove the temporary file:
# rm -f /tmp/root_crontab
6. Verify the changes you made to the root user's crontab file:
# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/root_crontab installed on date time year)
# (Cron version -- $Id: crontab.c,v 2.13 vixie Exp $)
.
.
.
20 * * * * /usr/lib/yp/ypxfr_1perhour
40 6 * * * /usr/lib/yp/ypxfr_1perday
55 6,18 * * * /usr/lib/yp/ypxfr_2perday
100 Managing Local User Accounts