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

NCID-YEARLOG

Section: NCID (1)
Updated: 2022-11-8
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.  

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/share/ncid/sys/ncid-yearlog
 

FILES

/usr/share/sys/ncid-yearlog
$HOME/NCID/log/cidcall-<year>.log
$HOME/NCID/log/ciddata-<year>.log
/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: 18:17:41 GMT, November 12, 2022