Running Casper Suite 9.62
I am experimenting with using iBeacon to promote a user in the iBeacon range to an admin and then demote the user when they are out of range. The documentation I'm using can be found here.
I see in the jamf.log that when the device has entered the iBeacon region, the policy executes.
jamf[13806]: Entered iBeacon Region 1
jamf[18281]: Checking for policies triggered by "beaconStateChange"...
jamf[18281]: Executing Policy Adjust Admin Rights...
However, when the user exits the region, the event triggers, but the policy does not execute.
jamf[13806]: Exited iBeacon Region 1
jamf[19034]: Checking for policies triggered by "beaconStateChange"...
I don't see a place in the JSS to specify to only run on entry/exit/both. Is that a configurable option? If not, why does it only run when entering an iBeacon region?
Ideally, I would love to run promoteAdminUser.sh when entering. Then run demoteAdminUser.sh when exiting. However, if that's not an option, I'll just have to run one script with enough logic to do the proper promotion/demotion.
Secondly, what is the maximum amount of time a client device could be expected to report to the JSS that it has entered or exited a region? I'm seeing up to 1-2 minute delays before the computer reports to the JSS that it has either entered or exited a region. Why is the delay even there?
