add cron option and tweak ss

This commit is contained in:
finn committed 2026-11-13 10:43:16 -07:00
1 parent 9d2b5779bd
commit 86f55e1563
4 files changed
+69 -3

No files matched your search

Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Script location:
# /mnt/ValVol202609/valheim/every_hour.sh
#
# Script purpose:
# run periodically from crontab. Placeholder for now, just writes to log file.
# Create the log file if it does not exist yet
touch everyhour.log
tail -n9 everyhour.log >everyhour.log.tmp && mv everyhour.log.tmp everyhour.log && echo "$(date -Iseconds) everyhour run." >>everyhour.log