Skip to main content
Question

Reboot script with defferal

  • January 2, 2019
  • 32 replies
  • 249 views

Show first post

32 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • September 13, 2021

@akamenev47 

The reason "0" becomes Start now is because you are telling jamfHelper to "start" after 0 seconds of a delay, which is essentially "Start now" As for why it becomes Start Now, that's just because that's how Jamf coded the application to interpret that 0 seconds option.

As far as switching out that wording as you asked, I'm not sure there's any way to, unfortunately. There are a few things in jamfHelper that are not customizable and hardcoded, and I believe this is one of those items. I also don't like how the wording that shows up in a dialog when you use a timeout option and choose to show the countdown is always "Please make a selection in <time remaining>" I'd like to be able to use that countdown more often, but the wording is not always appropriate to what I'd like to use it for, and it can just cause confusion about what's really going on.

In general, it would be nice if Jamf actually took some time to update jamfHelper with some additional options and refresh it. But given they've not touched it in years now, I'm not sure they ever will issue an update.


akamenev47
Forum|alt.badge.img+10
  • Valued Contributor
  • September 14, 2021

@akamenev47 

The reason "0" becomes Start now is because you are telling jamfHelper to "start" after 0 seconds of a delay, which is essentially "Start now" As for why it becomes Start Now, that's just because that's how Jamf coded the application to interpret that 0 seconds option.

As far as switching out that wording as you asked, I'm not sure there's any way to, unfortunately. There are a few things in jamfHelper that are not customizable and hardcoded, and I believe this is one of those items. I also don't like how the wording that shows up in a dialog when you use a timeout option and choose to show the countdown is always "Please make a selection in <time remaining>" I'd like to be able to use that countdown more often, but the wording is not always appropriate to what I'd like to use it for, and it can just cause confusion about what's really going on.

In general, it would be nice if Jamf actually took some time to update jamfHelper with some additional options and refresh it. But given they've not touched it in years now, I'm not sure they ever will issue an update.


I see, that is unfortunate... I wonder if there is already a feature request for jamfHelper in terms of how flexible it is + customization options, if not we should definitely create it.


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • September 14, 2021

I see, that is unfortunate... I wonder if there is already a feature request for jamfHelper in terms of how flexible it is + customization options, if not we should definitely create it.


I think if you search in the Feature Requests / Ideas section, you'll see there are several requests into Jamf to beef up the capabilities of jamfHelper. Especially when some of the tools we were all using started to be left behind, like cocoaDialog (which amazingly still mostly works on Big Sur today).

Thankfully there are a few up and coming open source tools out there that are starting to fill the gap, but for those people and organizations that shy away from using any open source tools for messaging, it would really be nice if Jamf gave jamfHelper some love. Unfortunately it just doesn't look like they're interested in doing it.


akamenev47
Forum|alt.badge.img+10
  • Valued Contributor
  • September 14, 2021

I think if you search in the Feature Requests / Ideas section, you'll see there are several requests into Jamf to beef up the capabilities of jamfHelper. Especially when some of the tools we were all using started to be left behind, like cocoaDialog (which amazingly still mostly works on Big Sur today).

Thankfully there are a few up and coming open source tools out there that are starting to fill the gap, but for those people and organizations that shy away from using any open source tools for messaging, it would really be nice if Jamf gave jamfHelper some love. Unfortunately it just doesn't look like they're interested in doing it.


I see. That is unfortunate 😞


cucaracha
Forum|alt.badge.img+5
  • Contributor
  • January 27, 2022

Hi,

How do I create or find the LD? Thx.

LaunchDaemon label: reverse-domain-formatted organization identifier.
# Do not include '.plist'!
DEFAULT_LD_LABEL = "com.contoso.deferred-policy"
 

cucaracha
Forum|alt.badge.img+5
  • Contributor
  • January 27, 2022

I figured it out with help from JAMF support. I missed inserting the info. in the LaunchDaemon Label field.


cucaracha
Forum|alt.badge.img+5
  • Contributor
  • February 1, 2022

@stevewood , I actually tried that once, I'll do it again and see what happens.


@kadams , Did you ever get this to work? If so, what were your final settings for both policies?