Force Casper to Push updates

g0martell
New Contributor

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 *f69f4c2965c0427ebf321dd68f6a148f
error "sudo: jamf: command not found"

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

thanks.

2 ACCEPTED SOLUTIONS

mm2270
Legendary Contributor III

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.

View solution in original post

g0martell
New Contributor
2 REPLIES 2

mm2270
Legendary Contributor III

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.

g0martell
New Contributor

Thank you !