I have this cron job to clear the temporary folder that I have once a day:
rm -rf /home/username/public_html/temp/*
I want this cron job to delete all files created before it works with 5 minutes and only so that my scripts no longer need these files.
Let's say I set the cron task to work every day at 10:00. I want him to delete all files in this folder created before 09:55
Thank you very much!
source
share