add a scheduled task only for siteIds actually having at least one alert. This should improve the time it needs to register/check all the tasks rapidly