Check Apt Unattended Upgrades Will Run Today
To check if unattended upgrades will run today, you can use the systemctl list-timers
command with the apt-daily.timer
unit. This will provide information about the timer and when it is scheduled to run. Here’s how you can do it:
|
|
Running this command will display output similar to the following:
NEXT LEFT LAST PASSED UNIT ACTIVATES
Wed 2023-09-01 06:25:00 UTC 12h left Tue 2023-08-31 06:25:00 UTC 11h ago apt-daily.timer apt-daily.service
In this example output, you can see information about the next scheduled run of the apt-daily.timer
unit, including the time remaining until it runs again. You can check the “NEXT” column to see when the timer is set to trigger next.
Please note that the output may vary based on your system’s configuration and the current date and time.