PDA

View Full Version : [ubuntu] Change time to check for updates



feedmecereal
August 20th, 2008, 09:51 PM
How do I change the time that Ubuntu checks for updates? It currently checks for updates at about the time that I wake up but I want it to check sometime in the middle of the night when I am asleep.

Partyboi2
August 21st, 2008, 09:26 AM
You could use cron and setup the time of day you want your machine to be updated. Here is more info:
https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo
https://help.ubuntu.com/community/AutomaticSecurityUpdates
http://www.builderau.com.au/program/linux/soa/Automatically-update-your-Ubuntu-system-with-cron-apt/0,339028299,339279542,00.htm

newOldUser
June 19th, 2009, 01:23 PM
Assuming you leave your machine on all the time....

Read this: http://gaarai.com/2009/03/18/changing-when-daily-cron-jobs-run-in-ubuntu/

Then using a terminal and the sudo command invoke a text editor on /etc/crontab

change the 'hour of the day', 2nd field from left, to some other hour like 2 or 20

save the changes and you should be okay.