I'm trying to execute a scheduled task on a large-ish pool of virtual servers, but I want to minimize the resulting performance impact on the hypervisor, ideally executing it on one server at a time.
Think something like this:
Hr07.Min01.host_1::
"scheduled_service_restart" usebundle => service_restart;
Hr07.Min02.host_2::
"scheduled_service_restart" usebundle => service_restart;
Hr07.Min03.host_3::
"scheduled_service_restart" usebundle => service_restart;
...
Now, this works; but the list will grow significantly, and isn't exactly pretty to look at.
Can I match the hostname sequence number (or sequence number of any general class) against the integer in the MinXY
hardclass somehow?