1NCID-YEARLOG(1) NCID NCID-YEARLOG(1)
2
3
4
6 ncid-yearlog - create a yearly call log from the monthly call logs
7
9 ncid-yearlog [-h] [-V]
10
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
20 -h Prints this help
21 -V Displays the version
22
24 logrotate: rotates, compresses and mails system logs
25 ncidrotate: must have Lines2keep=0 (default)
26 user crontab: 11 5 1 * * /usr/share/ncid/sys/ncid-yearlog
27
29 /usr/share/sys/ncid-yearlog
30 $HOME/NCID/log/cidcall-<year>.log
31 $HOME/NCID/log/ciddata-<year>.log
32 /etc/ncid/ncidrotate.conf
33 /var/log/cidcall.log
34 /var/log/ciddata.log
35
37 ncidrotate.1, ncidrotate.conf.5, ncidd.8
38
39
40
41NCID 2019-08-17 NCID-YEARLOG(1)