SplashBuddy icon indicating copy to clipboard operation
SplashBuddy copied to clipboard

Show packages currently being downloaded

Open ftiff opened this issue 9 years ago • 3 comments

Some packages take an awful amount of time to download We cannot get this from jamf.log but perhaps from the policy name or the cache folder?

ftiff avatar Nov 24 '16 12:11 ftiff

@ftiff does the the name of the cache folder typically match the policy or package name?

kylecrawshaw avatar Nov 24 '16 18:11 kylecrawshaw

Cache folder we can find the packages being downloaded here in/Library/Application\ Support/JAMF/Downloads

$ sudo ls -l /Library/Application\ Support/JAMF/Downloads 
total 53472
-rw-r--r--  1 root  wheel  27374089 Nov 25 09:16 EnterpriseConnect-1.6.2.pkg
$ 

It would be ideal to monitor this folder, as we could even add a progress bar while it is being downloaded (provided we know the size). Unfortunately it needs admin rights as folder is 700

Policy name

We could add a new watch on /var/log/jamf.log for the policy name:

Fri Nov 25 09:16:10 François’s Mac mini jamf[21381]: Executing Policy Enterprise Connect

ftiff avatar Nov 25 '16 08:11 ftiff

Downloads are shown in the JAMF log when JAMF is put into debug mode via: defaults write /Library/Preferences/com.jamfsoftware.jamf.plist global_log_level DEBUG

I run this command as the first thing in my DEP sequence and the last command in my DEP sequence then is: defaults delete /Library/Preferences/com.jamfsoftware.jamf.plist global_log_level DEBUG

This way you'd also be able to parse the log if the download fails or times out and return a red dot if that occurred.

RHI0 avatar May 15 '18 20:05 RHI0