feedread
I wrote feedread, a little program to download my podcasts. I run it with a systemd user timer. This is kind of like a cron job.
I created a directory for it
mkdir -p ~/.config/systemd/user/
and created a feedread.service
file there
[Unit]
Description=Check RSS feeds for new podcasts
[Service]
ExecStart=/home/tim/rust/target/release/feedread --feeds=/home/tim/rust/feedread/feeds --download-history=/home/tim/rust/feedread/download_history
Type=oneshot
as well as a feedread.timer
file
[Unit]
Description=Check RSS feeds for new podcasts
[Timer]
OnCalendar=daily
Persistent=true
RandomizedDelaySec=1h
[Install]
WantedBy=timers.target
Then I started the service
loginctl enable-linger tim
systemctl --user daemon-reload
systemctl --user enable feedread.timer --now
I can check on the service with
systemctl --user list-timers
or
systemctl --user status feedread
Now if there are any new podcasts, they'll be waiting for me when I wake up!