Hands-on task
Auto-cleanup of temporary files
The /tmp/uploads directory keeps filling up with abandoned files — both old and fresh ones are already there. Set up a cron job (in root's crontab) that every 10 minutes deletes files older than 60 minutes from it (use find with -mmin). Fresh files must not be touched.
- cron
- crontab
- find
- -mmin
- task scheduler