Kevin-LH76 wrote: ↑Feb 8, 2026 - 6:38 PM
* Update search schedule
Regarding the schedule, it's not by design; instead, it's indicated as:
If the post hasn't done it for more than 7 days, then it will do it
Kevin-LH76 wrote: ↑Feb 8, 2026 - 6:38 PM
* Predefined action (Download only, 100% manual or Automatic installation)
The `download_scheduling` parameter downloads updates that are pending.
For installation, you can set the following parameter:
install_scheduling
Who launches the installations? If you don't do this, you can create a package that launches a scheduled task which then executes the command:
wapt-get waptwua-install
or just for a download:
wapt-get waptwua-download
or just for a scan:
wapt-get waptwua-scan
Kevin-LH76 wrote: ↑Feb 8, 2026 - 6:38 PM
* Notify users of a pending restart.
By default, it is not offered, but if you install this type of package you can do so:
Code: Select all
from setuphelpers import *
from waptservice.enterprise import get_active_sessions, start_interactive_process
import datetime
if get_language() == "fr":
title = "Redémarrage"
message = "Votre pc est en attente de redémarrage, voulez-vous redémarrer maintenant ?"
else:
title = "Reboot"
message = "Your PC is waiting to restart, do you want to restart now?"
def install():
pass
def session_setup():
import waptguihelper
if is_pending_reboot():
last_reboot_warning = registry_readstring(HKEY_CURRENT_USER, r"SOFTWARE\WAPT\Shutdown Information", "Last_reboot_warning")
today = str(datetime.date.today())
if last_reboot_warning != today:
registry_setstring(HKEY_CURRENT_USER, r"SOFTWARE\WAPT\Shutdown Information", "Last_reboot_warning",str(today))
if waptguihelper.message_dialog(title, message , waptguihelper.ID_YES) == waptguihelper.ID_YES:
run('shutdown /f /r /t 0')
return 'RERUN'
def run_session_setup(package_name):
for session_id in get_active_sessions():
start_interactive_process("wapt-get", "--hide session-setup %s -f" % package_name, session_id=session_id)
def audit():
run_session_setup(control.package)
return "OK"
Kevin-LH76 wrote: ↑Feb 8, 2026 - 6:38 PM
Is it possible to automatically approve only critical updates and request approval for other updates?
Yes :
https://www.wapt.fr/fr/doc/wapt-console ... wapt-agent