Posted on 08-16-2017 03:11 PM
Posted on 08-16-2017 03:22 PM
Server list:
#!/bin/sh
echo "<result>$( /bin/cat /etc/ntp.conf )</result>"
State:
#!/bin/sh
echo "<result>$( /usr/sbin/systemsetup -getusingnetworktime | awk '{ print $3}' )</result>"
Posted on 08-16-2017 03:31 PM
There's actually a template EA right in the JSS for that. It's basically already there. You just need to enable it. It's basically the same as the 2nd version above from @donmontalvo
Posted on 08-16-2017 03:22 PM
Server list:
#!/bin/sh
echo "<result>$( /bin/cat /etc/ntp.conf )</result>"
State:
#!/bin/sh
echo "<result>$( /usr/sbin/systemsetup -getusingnetworktime | awk '{ print $3}' )</result>"
Posted on 08-16-2017 03:31 PM
There's actually a template EA right in the JSS for that. It's basically already there. You just need to enable it. It's basically the same as the 2nd version above from @donmontalvo
Posted on 08-16-2017 04:11 PM
I see it now. Thank you!