Skip to content

zfs: fix the documented cron setup - #642

Open
ahoogerhuis wants to merge 1 commit into
librenms:masterfrom
ahoogerhuis:docs/zfs-cron-compressed
Open

ahoogerhuis wants to merge 1 commit into
librenms:masterfrom
ahoogerhuis:docs/zfs-cron-compressed

Conversation

@ahoogerhuis

@ahoogerhuis ahoogerhuis commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

The cron example in #640 omitted -b, so the cache file holds raw JSON where
core's docs have always used the compressed form. Also documents running the
script once before the extend is configured — otherwise the cache file does
not exist until cron first fires — and says which crontab the entry belongs
in.

Developed with Claude's assistance; reviewed, I take responsibility for
correctness.

@ahoogerhuis
ahoogerhuis marked this pull request as ready for review October 12, 2026 21:44
@ahoogerhuis

Copy link
Copy Markdown
Contributor Author

@VVelox
Would you want a systemd timer example alongside the cron line, or is cron the
convention here?

The cron line omitted -b, so the cache file held raw JSON where the rest of
this script's documentation uses the compressed form. Also run the script
once before configuring the extend, or the cache file does not exist until
cron first fires, and say which crontab the entry belongs in.

Made with help from Claude
@ahoogerhuis
ahoogerhuis force-pushed the docs/zfs-cron-compressed branch from 4f47423 to 6c8eee2 Compare October 13, 2026 05:23
@ahoogerhuis ahoogerhuis changed the title zfs: add -b to the documented cron line zfs: fix the documented cron setup Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant