{"id":4668,"date":"2018-09-22T16:29:34","date_gmt":"2018-09-22T16:29:34","guid":{"rendered":"https:\/\/geekdecoder.com\/?p=4668"},"modified":"2018-09-22T16:29:34","modified_gmt":"2018-09-22T16:29:34","slug":"setting-up-cron-to-remove-emails-from-an-administrator-email","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/09\/22\/setting-up-cron-to-remove-emails-from-an-administrator-email\/","title":{"rendered":"Setting up cron to remove emails from an utility email"},"content":{"rendered":"<p>Sometimes you need to add an email to receive alerts and other emails for you system or business. WThen after a while the email account is full of emails. One method to automate this is to set up a cron in cpanel to remove the emails. Here is an example.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nbin\/find \/home\/cpaneluser\/mail\/domain.name\/emailuser\/new -type f -exec rm {} \\;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you need to add an email to receive alerts and other emails for you system or business. WThen after a while the email account is full of emails. One method to automate this is to set up a cron in cpanel to remove the emails. Here is an example. bin\/find \/home\/cpaneluser\/mail\/domain.name\/emailuser\/new -type f -exec &#8230; <a title=\"Setting up cron to remove emails from an utility email\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/09\/22\/setting-up-cron-to-remove-emails-from-an-administrator-email\/\" aria-label=\"Read more about Setting up cron to remove emails from an utility email\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,21],"tags":[],"class_list":["post-4668","post","type-post","status-publish","format-standard","hentry","category-administration","category-cron"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=4668"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4668\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=4668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=4668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=4668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}