To setup a cron job to purge outdated cache files that are more than 8 minutes old every 10 minutes on disk its an easy task.# crontab -e*/10 * * * * root find /tmp/diskcache -type f -mmin +8 -delete 2>/dev/nullThe problem is if i want to move diskcache to tmpfs. My idea with tmpfs (otherwise tmpfs eat half ram of default) is:/etc/fstabtmpfs   /dev/diskcache     tmpfs   nodev,nosuid,size=2G      0  0The new command will be (correct?):# crontab -e*/10 * * * * root find /dev/diskcache -type f -mmin +8 -delete 2>/dev nullIs it the best approach right now ? And most important, is it correct ? Thanks :)Filesystem        1K-blocks   Used Available Use% Mounted on/dev/ploop39151p9  41151808 634408  38420352   2% /devtmpfs            3145728      0   3145728   0% /devtmpfs               3145728      0   3145728   0% /dev/shmtmpfs               3145728     32   3145696   1% /runtmpfs               3145728      0   3145728   0% /sys/fs/cgroup
ramdisk, how to clean every x min files older than X min
cron;cache;tmpfs;disk cleanup