bp88 / JSS-Scripts

Random scripts for use in the Jamf Pro
189 stars 61 forks source link

Nothing is launching for OSUpdateNotifier.sh #27

Closed syoung-quizlet closed 3 years ago

syoung-quizlet commented 3 years ago

I run sudo jamf policy and it launches the policy with OSUpdateNotifier.sh but nothing happens...

`Executing Policy MacOS Updates Running script OSUpdateNotifier.sh... Script exit code: 0 Script result: Current time is Tue Jul 27 13:41:30 PDT 2021. User will be reminded after Tue Jul 27 14:20:07 PDT 2021.

Submitting log to https://quizlet.jamfcloud.com/`

Any thoughts?

opscoding commented 3 years ago

The user will be reminded after Tue Jul 27 14:20:07 PDT 2021. Have you tried after that?

syoung-quizlet commented 3 years ago

Yes it did run just much later. Probably due to me manually running the script a bunch which kept extending the time. I assumed (incorrectly) that it will notify on the first run but that just creates the files and sets a time/date for the first popup.

Appreciate the software. The fact it is considerate of screen assertions is very helpful.

syoung-quizlet commented 3 years ago

I completely missed this part of the documentation

If not set, the user will start to receive notifications the second time the script is run based on the re-notification period. Date can be supplied in epoch seconds or string format (e.g. Sep 03 12:34:56 -0400 2019).