July 25, 20196 yr Is there a right way to restart a docker container every 24 hours and have it persist after a reboot? This is my solution. It works, but just wondering how others might do it. Create shell script to restart the docker container and save to flash stick. Edit crontab; adding a line to execute the above shell script at desired interval. Export crontab; saving output to a file on the flash stick. Edit GO script to import crontab at boot using the exported file.
July 25, 20196 yr 1 hour ago, dboonthego said: how others might do it. Much easier to just put the script into the user scripts plugin. No mucking about with go file or crontab.
Archived
This topic is now archived and is closed to further replies.