Hi Paul, Odd - I didn't see your message until Robert quoted it. But if it helps, here's how we tackle this problem - by using spacecmd, the cli utility that replicates much of Uyuni's webui functionality. I use a little script that's called with: schedule_patching.sh "GroupName" Where GroupName is the name of a Server Group in Uyuni that I wish to patch. I run this 24 hours before patching is due using crontab, which allows me a day to unopt any machines where the dev has decided they don't want patched that run for production reasons. The key contents of the script are below. This uses spacecmd (You may need to authenticate this before it'll run without prompting) to do the monkey work. I've added a couple of notes, and uncomment the spacecmd lines once you're familiar with how they work. # First, clear the ssm in case anything exists spacecmd ssm_clear # Now add all the machines from the group in $1 to ssm spacecmd -- ssm_add group:"$1" # Now create the upgrade package schedule in 24h from when called # Note 1: This method works okay for applying updates any anything but EL8s, where modules can cause issues. YMMV. Uncomment to use #spacecmd -y -- system_upgradepackage ssm '*' -s 24h # Run yum update and reboot in one script to get it done sooner. any local repo updates not supplied by uyuni should be included too. Set timeout of 1200 secs to ensure the random sleeps don't exceed the default timeout of 600 # Note 2: In this case, remote_update.sh exists on Uyuni's machine and simply contains the line "yum -y update" which is copied to and runs on the clients. Uncomment to use # spacecmd -y -- system_runscript ssm -u root -g root -s 24h -t 1200 -f "/root/remote_update.sh" # Now apply any patches/errata pending # This does the errata - different to updates/patches #spacecmd -y -- system_applyerrata -s 10m ssm '*' # Now create the reboot schedule for +25h from now (at 0600 tuesday) #spacecmd -y -- system_reboot ssm -s 25h Hope that helps point you towards one solution. Regards Simon -----Original Message----- From: Robert Paschedag <robert.paschedag@web.de> Sent: 06 January 2022 19:12 To: Paul <pficheux@integra.fr> Cc: users@lists.uyuni-project.org Subject: [EXTERNAL EMAIL] Re: Scheduling auto errata update for systems or groups It is pretty simple to use the API to schedule the installation of "available" patches on a host. Robert sent from my mobile device -------- Originale Nachricht -------- Von: Paul <pficheux@integra.fr> Gesendet: Thu Jan 06 15:51:21 GMT+01:00 2022 An: users@lists.uyuni-project.org Betreff: Scheduling auto errata update for systems or groups Hello, I'm wondering if it is possible to schedule a patch installation for a system or a system group, for example every friday at 11PM, in Uyuni. I've tried several things without success, and I'm kind of lost... Regards, Paul