Skip to main content
Question

Extension attribute script execution


Forum|alt.badge.img+10

I cannot find the documentation on when exactly extension attribute (by script) are executed. I don't see a way to control it so I am wondering what triggers these scripts?

I have one I would like to run on a timed interval. It is not that important, as in, I don't want to create a script that runs on a loop with a sleep. But if it were possible for me to tell it to run every so often through JSS configuration I would do that. Is that possible?

I am guessing extension attributes by script are run at each inventory collection cycle?

3 replies

Forum|alt.badge.img+7

Yep. Each time recon is ran they run. If you do a 'sudo jamf recon' from Terminal, you can see it say 'Finding Extension Attributes'.


stevewood
Forum|alt.badge.img+35
  • Employee
  • 1797 replies
  • August 14, 2013

If you want a script to run at a set interval, your best bet is a LaunchDaemon. You can set the LaunchDaemon to trigger the script at whatever interval you need.


Forum|alt.badge.img+10
  • Author
  • Valued Contributor
  • 214 replies
  • August 14, 2013

Thank you both for your responses. Both helpful and informative. AJ.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings