Page 1 of 1

Updating packages at startup

Published: January 16, 2024 - 09:45
by Arsene
Hello everyone,

does anyone know if there's a way to configure WAPT to perform package updates at PC startup?

Context: Some employees who want to go home in the evening don't always wait for updates to finish before shutting down their PCs, so we'd like WAPT to check for updates at startup.

Thank you in advance for your help.

Server: WAPT Enterprise 2.3.0.13516 on Debian
Consoles: Windows 10 & 11
Network: Windows

Re: Updating packages at startup

Published: January 16, 2024 - 11:08 AM
by sfonteneau
In your case, I believe the option

waptupgrade_task_period would be a good thing to put on laptops.

The waptupgrade_task_period option allows applications to be updated during the day provided that the application is not running.

Code: Select all

waptupgrade_task_period=240m
In this way, when the post is shut down, only the applications that were started during the day need to be updated.

And if you still wish to disable updates when stopped, you can add:

Code: Select all

waptexit_disable_upgrade=1

Re: Updating packages at startup

Published: January 16, 2024 - 4:21 PM
by Arsene
Okay, I'll try it.

Thank you