scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 776d7fd5b27bc395e36b450c03d8460a13cc2beb
parent 459c43098b19af95c31b13b422aed3e11599acd8
Author: Andrew Laack <andrew@laack.co>
Date:   Thu, 19 Feb 2026 03:39:30 -0600

Added cron configurations

Diffstat:
Mbackup.sh | 4++--
Minstallers/arch-private-installation.sh | 3+++
Minstallers/arch-public-installation.sh | 5++---
3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/backup.sh b/backup.sh @@ -1,4 +1,4 @@ #!/bin/bash -mkdir -p ~/logs -~/bin/backups/pull.sh | tee ~/logs/backup.log 2>&1 +mkdir -p /home/andrew/logs +/home/andrew/bin/backups/pull.sh | tee /home/andrew/logs/backup.log 2>&1 diff --git a/installers/arch-private-installation.sh b/installers/arch-private-installation.sh @@ -22,3 +22,6 @@ chmod 600 ~/.ssh/id_ed25519* sudo mkdir /home/backup sudo chown andrew /home/backup + +# CRON (backups script) +echo "0 0 * * * andrew /home/andrew/bin/backup.sh" | sudo tee -a /etc/crontab diff --git a/installers/arch-public-installation.sh b/installers/arch-public-installation.sh @@ -46,8 +46,7 @@ done # SERVICES sudo systemctl enable sshd sudo systemctl start sshd - -# CRON -echo "0 0 * * * andrew /home/andrew/bin/backup.sh" | sudo tee -a /etc/crontab +sudo systemctl enable cronie +sudo systemctl start cronie echo "Time to open neovim and run :PackerSync a thousand times!"