Files
the-daily-epub/systemd/daily-epub-generate.timer
T
thallada 9e30c1dcdf Initial commit: The Daily EPUB full implementation
Full implementation of a personalized daily newspaper delivered as an
EPUB.

Articles are pulled from a local self-hosted Miniflux instance, enriched
with comments, summarized and filtered by DeepSeek AI, and then
assembled into two EPUB editions: standard and optimized for the Xteink
X4 e-ink reader. Both are served by the local self-hosted BookOrbit OPDS
server in a separate library. Then the X4 edition is futher converted to
XTC format and served over a separate OPDS server hosted by the Rust
binary. Runs are tracked in a local SQLite database so runs are
idempotent per date.

Full documentation of the plan is in docs/plans and setup and install
instructions are in the README.md file.
2026-08-15 17:46:19 +00:00

23 lines
727 B
SYSTEMD

# Fires daily-epub-generate.service every morning at 05:30 Eastern (spec §3.15).
#
# Install:
# sudo install -m0644 systemd/daily-epub-generate.timer /etc/systemd/system/
# sudo systemctl daemon-reload && sudo systemctl enable --now daily-epub-generate.timer
# Check: systemctl list-timers daily-epub-generate.timer
[Unit]
Description=Build The Daily EPUB every morning
Documentation=https://github.com/thallada/the-daily-epub
[Timer]
Unit=daily-epub-generate.service
OnCalendar=*-*-* 05:30:00 America/New_York
# Catch up after downtime — a missed morning still gets its issue.
Persistent=true
# Spread the load on the Miniflux/DeepSeek side.
RandomizedDelaySec=300
AccuracySec=1min
[Install]
WantedBy=timers.target