Skip to content

Instantly share code, notes, and snippets.

@viktoschi
Last active February 22, 2021 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viktoschi/ad2d93fa571cd113ef2d6526b1df5121 to your computer and use it in GitHub Desktop.
Save viktoschi/ad2d93fa571cd113ef2d6526b1df5121 to your computer and use it in GitHub Desktop.
#make a cronjob which execute that script after server reboot
#you need to install entr ( apt-get install entr )
Worldsavelocation=/root/server/valheim/worlds/
while $(true); do
find $Worldsavelocation | entr -s ./valheimbackup.sh
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment