InTasks can be automated using the cron utility.
To setup cron to update apt, in a terminal, type:
sudo su
Toto access a root-level prompt. Then, run:
crontab -e
Toto begin editing your crontab, a table of tasks to run automatically at a given time. It will open in your preferred text editor. Modify it to include the following linesline:
0 7 * * 1 apt update && apt upgrade -y
ToThis will tell the system to automatically update and upgrade your apps at 7AM every Monday. After saving and exiting, it is now activated, no further actions. Read-up on crontab to see how to adjust to your liking. It is now activated, no further actions.
Note time trigger "0 7 * * 1" translates to 0 hours past 7 every day of every month that is a Monday. To help with timechanging the trigger of crontab, you can use https://cron.help.