Files
valheim-linode/every_hour.sh
T

12 lines
381 B
Bash
Raw Normal View History

2026-11-13 10:43:16 -07:00
#!/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