Manual Update Script?

Avatar
  • updated
  • Open

Is there a way to script a conditional reinstall? Even with the automatic update checked on the emergency release, a good percentage of my machines aren't being updated when they connect.

It would be nice to be able to run a job every 15 minutes or so that does a reinstall on any connected clients that are out of date. Several times I've had to click the manual reinstall again after leaving them for 10 minutes or so to see if it took. A script that selected all guest only connected out of date clients and did a group reinstall would be great. 

Avatar
0
mrfixit

Partially answering my own post, a session group with

GuestConnectedCount=1
AND GuestClientVersion <> '25.4.16.9293'

Seems to at least provide a single group to select for reinstall.

Sure would be nice to automatically evaluate that every so often and issue a reinstall command.

Avatar
1
esa hietala

For earlier version you could use a session group

GuestConnectedCount=1
AND GuestClientVersion < $SERVERVERSION

That way it will work also on future updates.

Avatar
0
mrfixit
Quote from esa hietala

For earlier version you could use a session group

GuestConnectedCount=1
AND GuestClientVersion < $SERVERVERSION

That way it will work also on future updates.

Thanks, that definitely improves the functionality of the session group, any thoughts on running a reinstall command to all members of a group on a schedule? 



Top contributors

Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar