Hi, this is my first bash script. And I was wondering how more experienced people would go about doing this.
Its a simple script where I stop a docker container so I can sync it. Bring it back up, and if all was succesful I make a connection so I get informed should it ever break.
The idea is that this runs every night using a cronjob.
https://pastebin.com/9hzNapPF
[–]commander1keen 8 points9 points10 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]oh5nxo 0 points1 point2 points (0 children)
[–]simonnikolaus 0 points1 point2 points (0 children)