Here's the scenario:
We have a classroom of computers. Between class sessions, we run a restart on those computers. This happens at varying times.
To run this restart we used to use Apple Remote Desktop. Since that is becoming/is unsupported, we want to move away from it.
To run the command to restart/shutdown, etc., we have a staff computer that is separate from the other classroom computers.
So... from what I've read it is possible to call a policy from a separate policy. Say:
- (Policy 1) has a custom trigger, and
- (Policy 2) uses Files and Processes to call the custom trigger 'sudo policy -trigger [triggername]'
I created (Policy 1) to deliver a restart command. I scoped it to all of the computers that I want to have restarted. I created a custom trigger 'restartComputers10'
I created (Policy 2), have it call the 'restartComputers10' trigger, scoped it only to the staff computer, made the command available in Self Service.
Now that policy is only visible in Self Service from the staff computer, but I find that it does not trigger the first policy. Is this because that "staff" computer does not have Policy 1 in scope?
Is it possible to trigger a policy for separate computers from a computer that doesn't have the policy scoped to it?
Thanks for any thoughts on this.