Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
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

 Answers
1

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


[#38225] Wednesday, May 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
measord

Total Points: 259
Total Questions: 131
Total Answers: 106

Location: Venezuela
Member since Sun, Oct 2, 2022
2 Years ago
measord questions
Wed, Jul 14, 21, 21:39, 3 Years ago
Mon, May 16, 22, 21:12, 2 Years ago
Mon, Oct 11, 21, 03:11, 3 Years ago
Sun, Apr 17, 22, 21:22, 2 Years ago
;