mpanighetti / install-or-defer

A framework for prompting users of Jamf Pro-managed Macs to install Apple software updates.
Apache License 2.0
148 stars 28 forks source link

Next prompt time not working correctly. #23

Closed willdadrummer closed 4 years ago

willdadrummer commented 5 years ago

When I change the time till next prompt it shows correct in the console, but does not run. It just says will appear after "date" and never does anything.

willdadrummer commented 5 years ago

It does actually seem to be re-prompting, but it is random.

homebysix commented 5 years ago

Hi @willdadrummer - When you say "time till next prompt", which specific variable are you changing and where? There are options to set some variables in the script itself, and options to set some variables in a plist or configuration profile.

By default, the launchdaemon is configured to re-run the script every 20 minutes. As long as you're seeing the prompt appear within 20 minutes after the DEFERRED_UNTIL time, it's expected behavior. If the prompt timing is truly random for you, that would be something I haven't yet seen in testing.

mpanighetti commented 4 years ago

@willdadrummer Are you still seeing this behavior in the latest build? If so, please let us know exactly which variables you're changing in which parts of the script. Thanks!

mpanighetti commented 4 years ago

Closing this out, but if you still encounter this issue with an unmodified copy of the latest release, let us know in a new issue and we can follow up.

willdadrummer commented 4 years ago

Hey Mario, thanks for responding. I was let go so I am not sure if they are still having that issue.

On Mon, Apr 6, 2020, 7:30 PM Mario Panighetti notifications@github.com wrote:

Closed #23 https://github.com/mpanighetti/install-or-defer/issues/23.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mpanighetti/install-or-defer/issues/23#event-3207600390, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUDAWUAD4EXTOLO25AYWZTRLJQ2HANCNFSM4IEA7Z7A .