Script for routinely clearing downloads folder in Lockdown mode?

Solved
S
Sam-L
East of England Co-operative

Device: Samsung Galaxy Tab A8
Mobicontrol Agent Version: 15.3.0.1006
OS: Android 11

Hi,

Some users of our tablets in lockdown mode are granted access to admin mode and can download items that they wouldn't be able to in lockdown mode (namely PDF files). In admin mode, tapping these in the browser automatically downloads them to the download folder.

Is there a script or console function whereby we can enforce a daily/weekly/monthly purge of the downloads folder and delete anything in there? 

In Mobicontrol at least, I can't see anything obvious.

Many thanks in advance!

3 years ago
SOTI MobiControl
ANSWERS