Created
December 17, 2023 13:42
-
-
Save DavesCodeMusings/11d970c88c09abc99f1e8e1bdab53d83 to your computer and use it in GitHub Desktop.
Alpine periodic package upgrade check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/ash | |
| # Put in /etc/periodic/weekly to be reminded of package upgrades. | |
| # The -s option tells apk to check, but not install. Installing needs to | |
| # be done manually. | |
| apk update && apk -s upgrade | mail -s 'Available Package Upgrades' root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment