Create a cron job to Clean up (remove) tmp files on GoDaddy website

Job ID: 31161192

Budget: $10 – $30 USD

I am looking for instructions on how to create a cron job to automatically delete
temporary files that are created on my GoDaddy account. Some of these temp
files can be GB in size and my current plan has a 100GB limit. I might change the
settings down the road - so I am looking for a script that can easily be modified.

Initially, I would like to delete temporary files every 30 minutes.
The files are stored in /home/tdq3giw.../appdata/tmp

The temporary files with the largest size start with :
php...
magick...

There are also a few files that start with
cloner-cert-....

I would like two sets of instructions.
1. One that deletes files that start with "php" or "magic" last modified over 30 minutes ago.
2. One that deletes ALL files last modified over 30 minutes ago. Can files located in the
appdata/tmp that start with "cloner-cert-...." be deleted.

Thanks,
Bill
Related categories: Script Install System Admin