I am writing a Windows service that should perform a task (which connects to a central server) every 30 days + - 5 days (this should be random). The service will run on 2000+ client machines, so randomness is designed to align them so that the server does not overload.
What would be the best way to do this? Currently, I choose a random time between 25 and 35 days from the moment this task is launched and used.
Does anyone have a better way? Is there a better way?
source
share