From 4f2cca8077efa060579f2e5b61523711117b816d Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Tue, 29 Aug 2023 18:09:49 -0500 Subject: [PATCH] Created readme.md Filled in readme.md --- readme.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..424186e --- /dev/null +++ b/readme.md @@ -0,0 +1,22 @@ +Just a public directory of some simple scripts I use to setup my own clients and things. + +Since its public, I dont have need my new clients to login or worry about cridentials. + +### Syncing this repo locally: +``` +git init +git remote add origin https://github.com/wickedyoda/public-setupfiles +git fetch +git checkout main +To remove "rm -rf .git" +``` + +### Setting up crontab to run updates automatically: + +``` +sudo apt install cron cron-apt -y +sudo systemctl enable cron +sudo nano /etc/crontab + +MAILTO="alerts@tyates.one" +`0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y``` \ No newline at end of file