add cron option and tweak ss
This commit is contained in:
1 parent
9d2b5779bd
commit
86f55e1563
4 files changed
+69
-3
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user