Resume downloads?

bbelew
Contributor

Is there a tip/trick to resume a policy if it fails during download? For example i'm pushing out the latest java 8 and a couple students have closed their laptops or disconnected from the network while downloading the file. The policy of course fails and I have to create a new one to target the machine again.

Any suggestions?

Thanks!

6 REPLIES 6

donmontalvo
Esteemed Contributor III

HTTP?

--
https://donmontalvo.com

bbelew
Contributor

Correct. I had nothing but trouble with JDS so I moved to legacy file shares with http.

mm2270
Legendary Contributor III

HTTP/S is able to do resumable downloads, which I think is why @donmontalvo was asking that question. Except that its a known fact/issue that the "resumable" part needs to occur within a certain very small timeframe. Is it 5 minutes? I forget, but something like that. IOW, if the students are closing the lids, taking them home and bringing them back in the next day, that window of resuming an interrupted download is long over and it needs to start over again.
As for targeting the machines again, you should just be able to flush the failed policy log for those Macs to have it run again at the next trigger, not set up anything new, or am I misunderstanding what you meant by "create a new one to target the machine again"?

Look
Valued Contributor III

JAMF really need to implement the try every so often until successful feature to save us all having to create EA's etc... to get around it not being there...
But yeah currently you either have to flush the failures, or use extension attributes to work out whether a policy has succeeded and have the policy on a set frequency for machines that haven't yet succeeded.

Aziz
Valued Contributor

@Look Agreed! Automatically flushing failed policies would be awesome.

Aziz
Valued Contributor

@Look Agreed! Automatically flushing failed policies would be awesome.