Auto Update Cron jobs
First line is to renew a ssl certificate from letsencrypt. However this never seems to work because it wants to take exclusive control of the current webservers ports 80, 443, etc. Need to adjust this better. Happens twice a day at 1 minute after 12am and 12pm.
The second line to call auto upgrade for Ubuntu systems. Happens once a day at 2 am local server time
Third line is to restart the server as the above line may require restart. Happens once a day at 3 am local server time
1 */12 * * * letsencrypt renew
0 2 * * * root /usr/bin/apt-get upgrade -q -y >> /var/log/apt/myupdates.log
0 3 * * * /sbin/shutdown -r +5