rexctl auto-upgrade
✓ rexctl upgrades Fluxer every day between 05:00 and 05:30.
Next run Wed 2026-10-28 05:07:53 CET
Last run Tue 2026-10-27 21:00:23 CET
Notify https://ntfy.sh/…
Log journalctl -u fluxer-upgrade.service
Is there a specific reason for the 30min randomizer?
mostly so that not every instance hits the release check and the image registry at the same second, since a lot of people will keep the default 04:00. it spreads the runs over the next 30 minutes, so with --at 04:00 it runs sometime between 04:00 and 04:30, and only the systemd timer does this for now because of its builtin RandomizedDelaySec (haven't looked into how to do it for cron in a good way yet)
Alright that makes sense to me, I totally get that.
As for cron - I am by no means an expert, but couldn't you just put a random sleep in front of the command? Something like:
Oh that is way cleaner than my idea.
However, and please correct me if I'm wrong, don't you now hash project name and path? which are for most instances fluxer and /opt/fluxer? That would result in no spreading between the individual instances, if I'm not mistaken.
If that is the case you could use the domain name instead.
Thread
Comment by Hampus
Comment by Ahryoo
Comment by Hampus
RandomizedDelaySec(haven't looked into how to do it for cron in a good way yet)Comment by Ahryoo
Comment by Hampus
Comment by Hampus
Comment by Ahryoo
fluxerand/opt/fluxer? That would result in no spreading between the individual instances, if I'm not mistaken. If that is the case you could use the domain name instead.Comment by Hampus