Force update script with sleep timer
Hi,
I was wondering if anyone has created a script that goes to sleep for a few random seconds or minutes and then force checkin? I need to check in over 100 clients and I don't want to overwhelm the server. I just need some way to stagger them so they don't all checkin at once. Any ideas will be great.
Thanks,
M
I was wondering if anyone has created a script that goes to sleep for a few random seconds or minutes and then force checkin? I need to check in over 100 clients and I don't want to overwhelm the server. I just need some way to stagger them so they don't all checkin at once. Any ideas will be great.
Thanks,
M
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
GillySpy
12 years ago
the kbox already has a throttle on it for task throughput. If your throughput is 2 then only about 20 maximum will be able to run an inventory at the same time. The others will be queued and wait.
If you are having bottlenecks elsewhere -- like on the WAN -- then perhaps you could target machines in groups?
That said, a simple way to sleep would be in a batch (that you wait for ) that pings null. E.g.
If you are having bottlenecks elsewhere -- like on the WAN -- then perhaps you could target machines in groups?
That said, a simple way to sleep would be in a batch (that you wait for ) that pings null. E.g.
ping -n 5 127.0.0.1 >NUL
Posted by:
ms01ak
12 years ago
I'm just reading the warning on the force inventory script:
Force Windows machines with the K1000 agent installed to take inventory and sync with the K1000.
WARNING: Do not run this with more than 50 machines selected as this can overload the server with requests.
So this no longer applies? I can check in as many machines as I want?
Force Windows machines with the K1000 agent installed to take inventory and sync with the K1000.
WARNING: Do not run this with more than 50 machines selected as this can overload the server with requests.
So this no longer applies? I can check in as many machines as I want?
Posted by:
GillySpy
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.