Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Defer system upgrade to a "safe" time
#! /bin/bash
cat <<EOF | at "$TIME"
apt-get -q update
apt-get -q -y dist-upgrade
apt-get -q -y --purge autoremove
apt-get -q -y autoclean
apt-get -q -y clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.