bp88 / JSS-Scripts

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

OSUpdateNotifier: ForceUpdateStartTimeInEpoch value set syntax #35

Open phu-ngo opened 2 years ago

phu-ngo commented 2 years ago

code in line 970 need correct syntax current:

# Determine the current start time in epoch seconds for forced update via GUI
ForceUpdateStartTimeInEpoch="$(/bin/date -jf "%a %b %d %T %Z %Y" "$(/bin/date)" +"%s")

Fix:


# Determine the current start time in epoch seconds for forced update via GUI
ForceUpdateStartTimeInEpoch="$(/bin/date +"%s")
```"