Hi all
Trying to use a cron job to delete any file in a directory after 24hrs, however the one i've come up with doesn't seem to work. it is as follows

#!/bin/sh
find /home/roinsonc494/example.com/cache -ctime 24 -exec rm -f {} \;
My site caches pages and reuse them for a 24 hr period after which the page is created again so the pages that aren't being used are left in the directory and it racks up a good 70MB of html pages in two days so i wanna get rid of them.

Thanks for your help in advance.