Looking to delete files with a timer, help?Solved

Participant
Discussion
3 weeks ago Mar 01, 2026

Hey everyone,

We manage a large fleet of Android and Mac devices for our enterprise field agents. Every month, we push out new promotional videos and updated PDF product catalogs to these devices so the team has the latest material.

The problem is, the old files stay on the local storage and are starting to eat up a massive amount of space. I know we can use the “Remove File” remote action from the console (Manage > Devices > Actions > Others > Remove File), but manually selecting the devices and entering file paths every single month is becoming a huge bottleneck for our IT team.

I’d love to set it up so that specific outdated files get wiped out on a set schedule—say, the 1st of every month.

Any advice would be hugely appreciated!

Replies (1)

Marked SolutionPending Review
Hexnode Expert
3 weeks ago Mar 01, 2026
Marked SolutionPending Review

Hi,

Welcome to Hexnode Connect!

That’s a very common enterprise use case. Fortunately, you can entirely automate this using Hexnode’s Automations feature. You can essentially take the exact “Remove File” action you’ve been using and schedule it to run automatically without any manual intervention.

Here is how you can set it up to run on the 1st of every month:

  1. Navigate to the Automate tab in your Hexnode UEM portal and click on + Create Automation.
  2. Give your automation a clear name (like “Monthly Promo File Cleanup”) and an optional description.
  3. Under the Action section, select Deploy/Remove files.
  4. Choose the Remove Files option. Here, you will need to enter the exact full file path, including the file name, of the content you wish to delete. (Note: You can specify multiple paths if you have multiple videos or PDFs to remove).
  5. Click Next to move to the Settings and Schedule page.
  6. Under the schedule settings, set Initiate to Repeat on a set schedule.
  7. Choose the Monthly sub-option, specify the 1st day of the month, and pick your preferred time zone and execution time (HH/MM).
  8. Click Next to apply your target filters (like your specific device groups for field agents), review your configurations, and hit Save.

Just a quick heads-up on file paths: Make sure the file paths you input are perfectly accurate. When pushing files, macOS and Android Enterprise have fallback directories if a path is invalid, but for removing a file, the system needs the exact location to successfully execute the wipe!

Let me know if you run into any hurdles setting this up. Happy to help!

Best regards,
George
Hexnode UEM

Save