32
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 18 Sep 2026
32 points (97.1% liked)
Programming
28776 readers
601 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 3 years ago
MODERATORS
systemd timers are definitely nicer than cron for this (and basically all cron jobs). there's both a restart on failure with backoff if you want it to handle the retry, or a way to schedule it based on the last exit time so the script can manage the backoff like you are doing now
on the last part, page numbers are hard to trust. I assume you don't have a choice, but that's why I prefer next page tokens when designing an api instead of numbered pages. then you know the data you're getting is exactly after the previous data