Cron Job to remove all Files older than a Specific Amount of days By nertbloxJanuary 20, 2014February 24, 2020How to, Linux In this example I’m using 90 days. But you can use whatever you would like in the place of it. It’s also set to run at the first of every month. 0 0 1 * * find /home/somehomedir/thatfolderyouwanttouse/ -type f -mtime +90 -exec rm {} +