topgrade-rs / topgrade

Upgrade all the things

Home Page:https://topgrade-rs.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make a Topgrade Systemd Service or Cron

JamesClarke7283 opened this issue · comments

Discussed in #736

Originally posted by JamesClarke7283 March 8, 2024

I want to make topgrade run every time i boot my computer, but it finishes with errors(errors i dont know how to capture).

Could you please share with me a way i can run topgrade on a cronjob that works?

Could we have some sort of builtin way to run topgrade periodically? like on boot(unattended-upgrades) or via a cron (every 12 or x hours). It would help my grandad especially who does not know much about computers and i have to do the updates myself every time i come round, would be better if they could optionally be automatic.

topgrade --no-retry --cleanup --yes

should be the command you want to run.
You can also edit the config file to have those options as default for the topgrade invocation