brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: snap refresh --time shows when the next snap update is due

Snap
~/tips/tip-snap-refresh-time-schedule

snap refresh --time

Shows the snap update schedule and moves it to a quiet time window.

Snaps update by themselves, and the schedule is easy to see and to change.

snap refresh --time
sudo snap set system refresh.timer=sat,02:00-04:00

--time prints the refresh timer, the last refresh and the next one. The timer setting takes a day and a time range. With a dash, the start of the range is the earliest moment snapd may refresh; use a tilde, as in 02:00~04:00, to let snapd pick a random moment inside the range. It cannot disable updates completely, but it moves them to a window that suits a server. For a single snap, refresh --hold is the better tool. A manual snap refresh ignores the window.

Further reading: Managing updates (Snap documentation)

More Snap tips snap refresh --list sudo snap save lxd snap services sudo snap stop --disable lxd.daemon sudo snap alias vlc my-vlc All Snap tips (14) All topics

Link