Content-type: text/html Manpage of NCID-YEARLOG

NCID-YEARLOG

Section: User Commands (1)
Index Return to Main Contents
 

NAME

ncid-yearlog - create a yearly call log from the monthly call logs  

SYNOPSIS

ncid-yearlog [-h] [-v]  

DESCRIPTION

The ncid-yearlog script is called from cron on the first day of each month. It creates a yearly file for cidcall.log in $HOME/NCID/log and, if it exists, ciddata.log

The ncid-yearlog script should only be run once on the first of the month from the user's crontab. Running it more than once will result in duplicate data.  

OPTIONS

-h Prints this help
-V
Displays the version
 

REQUIREMENTS

logrotate: rotates, compresses, and mails system logs
ncidrotate:
must have Lines2keep=0 (default)
user crontab:
11 5 1 * * /usr/local/share/ncid/sys/ncid-yearlog
 

FILES

/usr/local/share/sys/ncid-yearlog
$HOME/NCID/log/cidcall-<year>.log
$HOME/NCID/log/ciddata-<year>.log
/usr/local/etc/ncid/ncidrotate.conf
/var/log/cidcall.log
/var/log/ciddata.log  

SEE ALSO

ncidrotate.1, ncidrotate.conf.5, ncidd.8


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REQUIREMENTS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 13:26:52 GMT, October 04, 2016