Reference 1 Reference 2 Reference 3
Something more than SSL renewal time
30 */12 * * * bash /path/to/reverse_proxy_template/bin/remove-old-containers.sh > /path/to/reverse_proxy_template/app/log/remove-old-containers.log
Every 12 hours recommended
* */12 * * * bash /path/to/reverse_proxy_template/bin/renew-ssl.sh > /path/to/reverse_proxy_template/app/log/renew-ssl.log
Every 6 hours recommended
* */6 * * * bash /path/to/reverse_proxy_template/bin/restart-nginx.sh > /path/to/reverse_proxy_template/app/log/restart-nginx.log