Page 1 of 1

[RESOLVED] Download updates as soon as they are available

Published: May 6, 2024 - 09:33
by PaulSLA
Hello,

Is it possible to configure WAPT to automatically download package updates as soon as they are available, but only install them when the computer is shut down? This functionality would be similar to the "Download packages locally" option when manually checking for updates.

Our problem is that laptop users tend to shut down their devices, put them in their bags, and leave, which prevents updates from installing correctly. The idea would be for the packages to download while the computer is in use, and for the installations to take place when the computer is shut down (these installations could be performed without an internet connection).

Sincerely,

Re: Downloading updates as soon as they are available

Published: May 6, 2024 - 11:22
by dcardon
Hi Paul,

the WAPT agent checks for updates and downloads the necessary packages every two hours by default.

However, if you use WAPT.install('my_package') in one of your conditional packages, the agent has no way of knowing in advance before installing the package that it needs to download it. Therefore, it will only be downloaded when the installations start, i.e., when the workstations are shut down. We are currently working on a syntax solution for this issue.

Best regards,

Denis

Re: Downloading updates as soon as they are available

Published: May 13, 2024 - 10:58
by PaulSLA
Very well, thank you for your reply.

Re: Downloading updates as soon as they are available

Published: May 13, 2024 - 12:35
by dcardon
Hi Paul,

thanks for the feedback :-) , I'm marking the topic as RESOLVED.

Regards,

Denis