Tag Archives: cron

Cron job delete files older than …

Delete files older than 30 days (crontab entry): find /path to folder/* -mtime +30 -exec rmĀ  -rf {} \; > /dev/null 2>&1

Posted in Linux | Tagged | Leave a comment