Posted on 05-20-2015 04:36 PM
Just wondering that for how long the cached package is going to stay in Waiting Room folder. Does it get deleted right after the cached package installation or it stays forever until we run a query to delete all cached packages from the client macs.
Solved! Go to Solution.
Posted on 05-20-2015 04:48 PM
Supposed to be deleted after it gets installed. In fact, here is a Feature Request asking that the packages remain there after being installed. But its currently Not Planned. Not that I personally think it would make sense to keep the packages around in most cases mind you.
Posted on 05-20-2015 04:48 PM
Supposed to be deleted after it gets installed. In fact, here is a Feature Request asking that the packages remain there after being installed. But its currently Not Planned. Not that I personally think it would make sense to keep the packages around in most cases mind you.
Posted on 05-20-2015 04:54 PM
I have voted it down. They should be deleted after installation because what happens when you cache another package and run the install cache package policy, wouldn't it install all the cached packages again?
Posted on 05-20-2015 05:21 PM
@khurram You can specify to only install specific cached packages in a policy, when adding a package to a policy, select install cached instead of install
Posted on 05-20-2015 05:27 PM
@Simmo what is the state/ file type of the cahced package before and after the installation in the Waiting Room folder.
Posted on 05-20-2015 05:29 PM
Posted on 05-20-2015 06:18 PM
When a package is cached, 2 files are placed into the Waiting Room. The package itself, which could be a pkg or dmg, typically, as well as an xml file with the same name (but with the .xml extension)
So if you cache a package called "My installer.pkg", in the Waiting Room would be:
My installer.pkg
My installer.pkg.xml
The xml rides with the package and contains details about the package settings, like if it should be restricted to only install on certain OS versions and other details.
Both get removed once the package is installed. I'm not certain, but I believe even if the installation fails that both items get removed at the end of the policy to install the cached item.
Posted on 07-23-2015 05:04 PM
I know this post is a couple months old, but since I am new here I figured I would chime in. I would absolutely love to have cached packages left on systems so they can be leveraged for peer-peer package deployments. That would be a huge benefit to keep bits off the WAN....
Posted on 07-23-2015 07:23 PM
Pretty sure I filed a feature request some time ago for that like last June but I cannot find it.
Posted on 08-14-2019 05:48 PM
What about the policy package is set to cache only.
Then use a script to run the package afterwards.
My assumption is the package will then just stay there. Am I correct?
So normally I simply use the same script to remove the package and its pair xml file.
Posted on 08-15-2019 06:33 AM
@ccsben You are correct in your assumption. When you cache a package via a policy the cached package remains in the "Waiting Room" (pathed below for fellow admins that are unaware) until a policy to install said cached package runs & completes successfully.
/Library/Application Support/JAMF/Waiting Room
Posted on 09-06-2019 06:49 AM
I am still learning Jamf and have a question about caching to the Waiting Room. I thought when you create a package, and use it in a policy, it will get placed in the directory where the original source file was located? For example, if I choose a pkg from my desktop, and cache it by policy, won't it get place on the desktop of my client machines? Still trying to understand this. I want to cache files into the Waiting Room on my client Macs, to run later by script in a policy. I did a test from a pkg that I downloaded, created a policy to cache the pkg that was in my downloads folder, and it appeared in the downloads folder on my client Mac. Hope I am explaining this correctly. Thanks.
Posted on 09-09-2019 06:41 AM
@tavaresj My understading is if you choose a pkg from your desktop folder and upload it to Jamf. Then setup a policy with this package action set to Cache, the package will be placed in the Waiting Room folder on the client machines, not their desktop folder. Where you uploaded the package from is irrelevant. The Waiting Room folder is designed for storing the cached package.
Posted on 06-29-2020 09:42 AM
Once the pkg is cached to the Waiting Room, how long will the pkg remain in the Waiting Room before it is removes? Meaning, if the pkg caches while one user is logged in, will it remain in the Waiting room until it gets installed. Or does the pkg get removed once a different user logs in that is not in Scope or a period of times has elapsed?
Posted on 06-29-2020 09:59 AM
In my experience, the package remains indefinitely. It could be manually deleted if a user knew where to look and to change directory permissions, or of course through a wipe of the volume of course. That’s it. I’ve had cached packages on my system for over a year, as it can be a convenient local repository if you’re a cloud customer.
Posted on 06-29-2020 10:05 AM
Thank you for your response. I was asking because the pkg had cached while I was logged into a client then I logged off and 2 days later a another user logged in and the policy was caching again.