first commit with existing files

This commit is contained in:
2025-05-17 13:08:39 +02:00
commit cda37be691
29 changed files with 617 additions and 0 deletions

15
nccron_deprecated/cron.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
cd "$(dirname "$0")"
echo -n "Container name: "
read cont
sudo cp ./files/nccron.service /etc/systemd/system/nccron.service
sudo cp ./files/nccron.timer /etc/systemd/system/nccron.timer
sudo sed -i "s/%1%/$cont/g" /etc/systemd/system/nccron.service
sudo systemctl daemon-reload
sudo systemctl enable --now nccron.timer