ncid-yearlog - Man Page

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)

Referenced By

ncid_tools(7).

2022-11-8 NCID