1NCID-YEARLOG(1)                      NCID                      NCID-YEARLOG(1)
2
3
4

NAME

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

SYNOPSIS

9       ncid-yearlog [-h] [-V]
10

DESCRIPTION

12       The  ncid-yearlog  script  is called from cron on the first day of each
13       month.  It creates a yearly file for cidcall.log in $HOME/NCID/log and,
14       if it exists, ciddata.log
15
16       The  ncid-yearlog  script  should  only be run once on the first of the
17       month from the user's crontab.
18

OPTIONS

20       -h     Prints this help
21
22       -V     Displays the version
23

REQUIREMENTS

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

FILES

32       /usr/share/sys/ncid-yearlog
33       $HOME/NCID/log/cidcall-<year>.log
34       $HOME/NCID/log/ciddata-<year>.log
35       /etc/ncid/ncidrotate.conf
36       /var/log/cidcall.log
37       /var/log/ciddata.log
38

SEE ALSO

40       ncidrotate.1, ncidrotate.conf.5, ncidd.8
41
42
43
44NCID                               2022-11-8                   NCID-YEARLOG(1)
Impressum