FAXQCLEAN(8)
π FAXQCLEAN π
okay so bestie, let me introduce you to faxqclean β the HylaFAX queue cleaner process, aka the little gremlin that comes through and takes out the trash ποΈβ¨ She's a manual page 8 situation (system manager's manual, so yeah, she's root-coded π).
β¨ SYNOPSIS β¨
/usr/sbin/faxqclean [ options ]
πΈ DESCRIPTION πΈ
So like, faxqclean is the program that goes through your completed HylaFAX jobs and yeets the unreferenced document files. She's not a "run her whenever you feel like it" girl β she's designed to be invoked by cron(8) on behalf of the super user (that's root, the actual main character π
) one or more times a day.
For example, this crontab entry might be set up for root so faxqclean runs every single hour, no cap:
0 * * * * /usr/sbin/faxqclean
When faxqclean runs, she scans the doneq subdirectory in the HylaFAX spooling area and processes each job according to the doneop field specified in the job description file β c.f. sendq(5) bestie, go read it, I'll wait π«Ά. Jobs that are marked for removal get purged and references to documents get removed too. Jobs marked for archival may be archived, depending on what options you handed her on the command line.
Then, after she's done scanning for completed jobs, she scans the docq subdirectory and builds up a table of document files π. Files that aren't referenced by any job and that are older than a specified threshold? Gone. Removed. Blocked. Unfollowed. π
π OPTIONS π
-aβ Enable job archiving support. She can archive now, she's ready, she's prepared β¨-Aβ This one forces archiving even ifdoneopin the queue file is notarchiveβ i.e. even if the user submitted the job without specifying the-Aflag tosendfax. Yeah, we're doing it anyway, no permission needed π-jsecs β Set the job age threshold (in seconds) that controls how long jobs may reside in thedoneqdirectory before being processed. Default is 15 minutes (15*60 = 900seconds).-dsecs β Set the document age threshold (in seconds) that controls how long unreferenced files may reside in thedocqdirectory before being removed. Default is 1 hour (60*60 = 3600seconds).-nβ Do not carry out any work; just show what would be done π. Super useful together with the-toption for debugging, fr fr.-qdir β The specified directory is treated as the spooling area. The default spooling area,/var/spool/hylafax, is defined at the time the software is built.-tβ Trace in great detail exactly whatfaxqcleanis doing. Messages get sent to the standard output. She's narrating her whole life, we love a transparent queen π₯-vβ Print messages on the standard output about jobs removed or archived, and about document files removed. The receipts, basically π§Ύ
π¦ FILES π¦
/var/spool/hylafax/doneqβ directory to scan for completed jobs/var/spool/hylafax/docqβ directory to scan for unreferenced documents/var/spool/hylafax/archiveβ directory where archived jobs are placed
Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area. Like, the whole lore. The deep cut. iykyk π
π SEE ALSO π
faxq(8), hylafax-server(5), sendq(5), doneq(5), archive(5).
and that's the whole page bestie!! this icon dropped way back on March 14, 1996, it's part of the System Manager's Manual, and it lives at section FAXQCLEAN(8). periodt. πβ¨π¦
π¦ where this page comes from
- debian bookworm: hylafax-server 3:6.0.7-5
- debian trixie: hylafax-server 3:6.0.7-11.1
- ubuntu jammy: hylafax-server 3:6.0.7-3.1
- ubuntu noble: hylafax-server 3:6.0.7-7
- ubuntu questing: hylafax-server 3:6.0.7-13
- ubuntu resolute: hylafax-server 3:6.0.7-13build1
- ubuntu stonking: hylafax-server 3:6.0.7-13build1
- Copyright (c) 1990-1996 Sam Leffler
- Copyright (c) 1991-1996 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms