Skip to Content
OpenView Network Node Manager: Designing and Implementing an Enterprise Solution
book

OpenView Network Node Manager: Designing and Implementing an Enterprise Solution

by John Blommers
September 2000
Intermediate to advanced content levelIntermediate to advanced
352 pages
6h 41m
English
Pearson
Content preview from OpenView Network Node Manager: Designing and Implementing an Enterprise Solution

Using crontab Entries to Automate Backups

The UNIX cron feature is a bulletproof, flexible, easy-to-use, and reliable mechanism to schedule periodic tasks such as backups. Because many of NNM’s files are owned by root, the backup script should be executed by root’s crontab entries. The cron feature is so easy to use there are only two variations that need be covered:

crontab -l lists the crontab entries

crontab file creates the crontab entries from file

An example file might contain the following lines:

# run five minutes after midnight, every day 
0 * * * $HOME/bin/nnm_backup_job >> $HOME/tmp/out 2>&1 

The first five fields represent time (see Table 11-1) and the rest of the line is the command to be executed when the time matches. This command ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HP OpenView System Administration Handbook: Network Node Manager, Customer Views, Service Information Portal, HP OpenView Operations

HP OpenView System Administration Handbook: Network Node Manager, Customer Views, Service Information Portal, HP OpenView Operations

Tammy Zitello, Deborah Williams, Paul Weber

Publisher Resources

ISBN: 0130198498Purchase book