I am running a re-occurring job to all machines based on a security group in AD. Basically its a restart job to reboot everyones machine nightly. But its target is a ldap query. This gives me all machines I need. And the query works and the job runs every night at a scheduled time.
(&(objectCategory=computer)(!memberOf=cn=Do_Not_Restart_Group ,ou=NY,DC=COMPANY,dc=com))
The problem I am having is with the query not updating when there's a change. The group is updated quite often but the job doesn't seem to be re-running the query at the time when its scheduled to run. On a normal basis, since I am not in the security group, my computer restarts nightly. I add myself to the group, but my computer still reboots. Its only when I stop and reschedule the job, is when my computer does not reboot. Like if the query is only updated then.
I use security groups alot and I base all my distribution packages based on AD groups to deploy software and it works fine. I have policy based jobs like "adobe" and that query's ad based on security group. If I am in it, I will get it when policy sync runs.
Any ideas where to look? Thanks in advanced.