Files
2026-11-13 10:43:16 -07:00

13 lines
381 B
Bash
Executable File

#!/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