NCID-YEARLOG(1)
πΈ ncid-yearlog β the NCID yearlog girlies' era πΈ
okay so bestie, you know how NCID keeps a million little monthly call logs and it gets messy? yeah. ncid-yearlog is the manual page for that little script, and honestly? she's giving archival icon. this is from the NCID manual, section 1 β the user commands section, iykyk. let's get into it π
β¨ NAME β¨
ncid-yearlog β bestie's whole job is making a yearly call log out of the monthly call logs. no cap, that's it, that's the gig. ποΈ
π SYNOPSIS π
ncid-yearlog [-h] [-V]
look at her. two flags. minimal. main character energy fr fr. π
π¦ DESCRIPTION π¦
so the ncid-yearlog script gets called from cron on the first day of each month. like clockwork, literally. π
what does she do with her little monthly moment of fame? she creates a yearly file for cidcall.log in $HOME/NCID/log, and β only if it exists β for ciddata.log too. so she's not out here inventing files that aren't there, she's just doing the most with what she's got. πββοΈ
β οΈ important queen behaviour note: the ncid-yearlog script should only be run once on the first of the month, and it should be run from the user's crontab. not twice. not three times. once. do not make her do overtime, she will not do it correctly. π
π OPTIONS π
-hβ prints this help. your girl is helpful! she'll tell you about herself. π«Ά-Vβ displays the version. so you know exactly which era of her you're dealing with. β
π REQUIREMENTS π
the prerequisites, aka her support system, aka the friends she needs to function:
logrotateβ rotates, compresses and mails system logs. she keeps the logs tidy, fed, and hydrated. π§ncidrotateβ must haveLines2keep=0(which is the default, so honestly? already slaying). π- user crontab β this is the line you need in there:
11 5 1 * * /usr/share/ncid/sys/ncid-yearlog
she runs at 5:11 on the 1st of every month. very specific. very punctual. very her. β°
π FILES π
the whole friend group, in path form:
/usr/share/sys/ncid-yearlog$HOME/NCID/log/cidcall-<year>.log$HOME/NCID/log/ciddata-<year>.logprefix3=/etc/ncid/ncidrotate.conf/var/log/cidcall.log/var/log/ciddata.log
π SEE ALSO π
go read her besties next, they're all connected, it's a whole cinematic universe:
ncidrotate.1ncidrotate.conf.5ncidd.8
okay that's the whole page, no crumbs left. this was the NCID manual, 2022-11-8 edition β go forth and rotate your logs responsibly, bestie. mwah. πβ¨
π¦ where this page comes from
- fedora 43: ncid 1.18-4.fc43 Β· GPL-3.0-or-later
- fedora 44: ncid 1.18-5.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms