Files
valheim-linode/every_fifteen.sh
T
2026-11-13 10:43:16 -07:00

13 lines
405 B
Bash
Executable File

#!/bin/bash
# Script location:
# /mnt/ValVol202609/valheim/every_fifteen.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 everyfifteen.log
tail -n9 everyfifteen.log >everyfifteen.log.tmp && mv everyfifteen.log.tmp everyfifteen.log && echo "$(date -Iseconds) everyfifteen run." >>everyfifteen.log