Skip to main content
Solved

Force Casper to Push updates

  • February 12, 2016
  • 2 replies
  • 15 views

Forum|alt.badge.img+2

Okay so I had created an apple scrip app that would force the system to check with caster and push updated by running two commands "sudo jamf manage" and "sudo JAMF policy" everythign was working fine until i upgraded my JSS to 9.82 no i get an error *
error "sudo: jamf: command not found"

Can any one tell what i need to change to make it work again.

thanks.

Best answer by mm2270

Probably put in the full path to the binary now? My guess is running it from Applescript its not seeing the path now by simply putting in jamf by itself.

sudo /usr/local/bin/jamf policy

But, taking a step back here, why not put something like this into Self Service?

EDIT: Doh! had the wrong path in there. Fixed now.

2 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • Answer
  • February 12, 2016

Probably put in the full path to the binary now? My guess is running it from Applescript its not seeing the path now by simply putting in jamf by itself.

sudo /usr/local/bin/jamf policy

But, taking a step back here, why not put something like this into Self Service?

EDIT: Doh! had the wrong path in there. Fixed now.


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • February 16, 2016

Thank you !