The message you are trying to access is permanently deleted.
Posted on 09-23-2024 03:17 PM
Has anyone ever had luck using a smart group to change a device state based on time of day?
For example, create a smart group that has app restrictions and move devices in and out of that group based on a recurring schedule.
Solved! Go to Solution.
Posted on 09-24-2024 05:40 AM
I can think of a few ways, but they would all be very sloppy and not incredibly time accurate or would need extra servers/applications.
All Jamf and device workflow:
Workflow: 7pm daemon runs dropping the file and running a recon. Jamf sees the file and adds the Mac to a collection which targets the device with the configuration profile (or untargets). 7am hits and the second daemon run removing the file and running a recon. Jamf sees the file is missing and untargets the device with the configuration profile (or targets).
Thoughts: This is really sloppy and could go wrong in many ways and only works for macOS.
Entirely Server-Side Workflow:
You would need another Server or Application that is time aware. The Server would run a script that uses Jamf API to change group collections around, or directly changes the scope of the Configuration Profiles.
Thoughts: This would be far more reliable and would lean on Windows Task Scheduler on a server and is a single point of failure rather than needing to keep up on what a fleet of devices may or may not be doing.
Posted on 09-24-2024 05:40 AM
I can think of a few ways, but they would all be very sloppy and not incredibly time accurate or would need extra servers/applications.
All Jamf and device workflow:
Workflow: 7pm daemon runs dropping the file and running a recon. Jamf sees the file and adds the Mac to a collection which targets the device with the configuration profile (or untargets). 7am hits and the second daemon run removing the file and running a recon. Jamf sees the file is missing and untargets the device with the configuration profile (or targets).
Thoughts: This is really sloppy and could go wrong in many ways and only works for macOS.
Entirely Server-Side Workflow:
You would need another Server or Application that is time aware. The Server would run a script that uses Jamf API to change group collections around, or directly changes the scope of the Configuration Profiles.
Thoughts: This would be far more reliable and would lean on Windows Task Scheduler on a server and is a single point of failure rather than needing to keep up on what a fleet of devices may or may not be doing.
Posted on 09-24-2024 11:53 AM
Thanks for this. I was afraid that an API solution might be the only reliable choice, but I was hoping maybe I had missed some obscure time-based criteria in the Smart Group setup options. ;-)