Setup Cron To Auto Update Ubuntu

Posted By Weston Ganger

Setting up auto-updates is a pretty useful feature. Heres how to do it on ubuntu.

First edit your crontab file as sudo

# This will run at 1:00AM Nightly (min hour day day-of-month month day-of-week)
0 1 * * * /usr/bin/apt-get update && /usr/bin/apt-get -y upgrade >> /var/log/apt/myupdates.log

Related External Links:

Article Topic:Software Development - Linux

Date:August 13, 2015