jamfHelper and Self Service

stevehillnz
New Contributor III

A policy using jamfHelper to open Self Service works when the policy is triggered by Login. When the trigger is the recurring check-in, jamfHelper opens, but there is no response when the button is clicked.

More strange behavior - our recurring check-in interval is 15 minutes. When the Every15 trigger is requested from the command line, the response is "no policies found", yet after 15 minutes the policy will run.

I've had a good read through https://jamfnation.jamfsoftware.com/discussion.html?id=6614. I use the script attributed to mm2270. I cannot find help for this issue.

3 REPLIES 3

ctangora
Contributor III

We are displaying a message with jamfhelper, then opening Self Service after they click "okay". Here is our code that works on the every15 trigger (JSS8).

Chris

## Finding local user
user=`ls -l /dev/console | cut -d " " -f 4`

## Launching Self Service
sudo -u $user open -a /Applications/Self Service.app

ctangora
Contributor III

I should note that you could get fancy with this and do a check to see if the user is root, and if it is do nothing. We are just letting it go like this since it is working and there are other fires to fight.

stevehillnz
New Contributor III

Thanks, ctangora. Tried your suggestion. Same result.