12 lines
405 B
Bash
12 lines
405 B
Bash
#!/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
|