-
-
Save MateusBMP/2d759e1b6b5cc9c40367e8a2520b1950 to your computer and use it in GitHub Desktop.
Weekly update the server and restart it, via crontab
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
| 0 2 * * 0 apt update && apt -y upgrade && apt -y autoremove && /usr/sbin/shutdown -h -r now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment