Cron Job for Linux To Delete Files Older Than X Days

Originally published at: Cron Job for Linux To Delete Files Older Than X Days - Computer How To

In this article I will show example of cron job for Linux to delete files older than 10 days. How to Edit Crontab file To edit or create new crontab file, type the following command: $ crontab -e Cron Job To Delete Files Older Than X Days In crontab editor type: 0 0 * *…