3
rated 0 times
[
3]
[
0]
/ answers: 1 / hits: 408
/ 3 Years ago, tue, may 11, 2021, 2:20:36
I want to tell update manager to check for updates every Sunday at around 4 PM. How can I achieve this?
More From » 12.04
I want to tell update manager to check for updates every Sunday at around 4 PM. How can I achieve this?
Install cron-apt:
sudo apt-get install cron-apt
Edit config-file:
sudo gedit /etc/cron.d/cron-apt
comment the line: (put '#' in front of it)
0 4 * * * root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt
Add these lines to the end of the file:
# Every Sunday at 16 o'clock
0 16 * * 0 root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt
Save the file.
For more information see:
help.ubuntu.com/community/AutoWeeklyUpdateHowTo