FAXCRON(8C)
๐ FAXCRON ๐ (section 8C, bestie)
okay so like. this is the faxcron manual page, and it's giving routine maintenance script for HylaFAX. no cap. let's get into it ๐งโจ
โจ NAME โจ
faxcron โ the HylaFAX routine maintenance script. she does the upkeep. she keeps things cute. ๐
๐ SYNOPSIS ๐
/usr/bin/faxcron [ -n ] [ -l lastrun ]
๐ฆ DESCRIPTION ๐ฆ
faxcron is a command script that does routine upkeep tasks in a HylaFAX spooling directory hierarchy. literally her whole job is tidying up.
the intended vibe: you invoke this from cron(8C) on behalf of the fax user (and bestie, often the ``fax'' user is uucp), once a day, with the standard output mailed straight to the HylaFAX administrator. like, set it and forget it energy.
for example, the following crontab might be set up for the fax user:
25 23 * * * sh /usr/bin/faxcron | mail FaxMaster
and here's everything the faxcron script does, bestie, all of it, in order:
- report statistics for facsimile transmitted since the last time
faxcronwas run. ๐ - report statistics for facsimile transmitted in the past week. ๐๏ธ
- report statistics for facsimile received since the last time
faxcronwas run. ๐ - report statistics for facsimile received in the past week. ๐๏ธ
- report any recent calls that failed suspiciously and return the associated trace log; ๐
- purge data that is 30 days or older from the remote machine information directory; ๐งน
- delete information that is 30 days or older from session trace log files; ๐๏ธ
- remove files from the
tmpdirectory that are older than 1 day; โจ - remove files in the received facsimile queue that are 7 days or older; ๐ฎ
- report sites that are currently having jobs rejected; and ๐
- force all session log files to be owned by the fax user and kept with protection mode
644. ๐
๐ OPTIONS ๐
-nโ forcesfaxcronto run without updating any files. a little dry run moment, she just looks, she doesn't touch. ๐-llastrun โ forces the notion of the last time thatfaxcronwas run to be lastrun. the value of lastrun is a date and time string of the formMM/DD/YY HH:MM'' (the <cyan>`date(1)`</cyan> format string%D %H:%M''). ๐ฐ๏ธ-qspool โ specify the location of the HylaFAX spool directory. ๐-infon โ set the expiration time for data in the info database to be n days. โณ-logn โ set the expiration time for session log data to be n days. ๐-rcvn โ set the expiration time for files in the received facsimile queue to be n days. ๐ฅ-tmpn โ set the expiration time for files in thetmpdirectory to be n days. ๐๏ธ-modem โ set the file protection mode for session logs to m (a command line argument tochmod(1)). ๐
๐ธ NOTES ๐ธ
this script requires nawk(1) or gawk(1) and a date (1) program that supports the ``+format'' option. non-negotiable, bestie.
if session logs are to be kept private this script must be modified to filter out sensitive information such as calling card numbers. (it should also be run with ``-mode 0600'' so that session log files are not publicly readable.) like, genuinely, protect the girlies' data. ๐ญ
๐ FILES ๐
/var/spool/hylafaxโ spooling area/var/spool/hylafax/etc/lastrunโ timestamp of last run/usr/bin/xferfaxstatsโ for generating transmit statistics/usr/bin/recvstatsโ for generating receive statistics/var/spool/hylafax/tmp/faxcronXXXXโ temporary file for truncating session logs/var/spool/hylafax/tmp/faxlogXXXXโ temporary file for logs of failed calls
๐ SEE ALSO ๐
cron(8C), faxq(8C), faxgetty(8C), faxsend(8C), xferfaxstats(8C), recvstats(8C), hylafax-server(5F)
this page is dated May 12, 1996, and it's the FAXCRON(8C) page โ periodt. go do your maintenance bestie, your spool directory is gonna look so slay. ๐ซถ๐โจ
๐ฆ where this page comes from
- fedora 43: hylafax+ 7.0.11-4.fc43 ยท libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 43: hylafax+ 7.0.11-4.fc43 ยท libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 ยท libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 ยท libtiff AND LicenseRef-Callaway-BSD-with-advertising
- Copyright (c) 1994-1996 Sam Leffler
- Copyright (c) 1994-1996 Silicon Graphics, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms