automatic deletion of emails with cron
Hi guys,
i am using this cron job to delete old mails automatic on Horde.
find /home/SERVER_LOGIN_USERNAME/mail/DOMAIN_NAME/MAIL_ACCOUNT_NAME/cur -type f -mtime +30 -exec rm {} \;
what i wonder what to change in the code above if i want to delete mails that is older than 6 month?
warm regards Birken
-
Hello, The mtime value of "30" in that command represents the number of days. You could update the value from "30" to "180" days. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment