I have the following cron setup to clear the tmp folder:
0 0 * * * rm -rf /home/user/tmp/* >> /dev/null 2>&1
However I'm looking for a more efficient way which would be less CPU intensive as this would have to clear 1000+ files daily.
How can I edit this to make it less CPU intensive?