{"id":685,"date":"2013-03-11T11:16:27","date_gmt":"2013-03-11T11:16:27","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=685"},"modified":"2023-02-06T06:51:27","modified_gmt":"2023-02-06T06:51:27","slug":"cron-jobs-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/","title":{"rendered":"Cron jobs (cPanel)"},"content":{"rendered":"<p>Cron jobs allow you to automate certain commands or scripts on your site. You can set a command or script to run at a specific time every day, week, etc. For example, you could set a cron job to delete temporary files every week to free up disk space. Schedulers which will do work for you at specific time, date.<\/p>\n<p>You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job.<\/p>\n<p><strong>Cron Email<\/strong><\/p>\n<p>Send an email every time a cron job runs. You can have cron send an email every time it runs a command. If you do not want an email to be sent for an individual cron job you can redirect the command&#8217;s output to \/dev\/null like this: mycommand &gt;\/dev\/null 2&gt;&amp;1<\/p>\n<p>Set the email address on which you wish to receive notifications.<\/p>\n<p><strong>Add New Cron Job<\/strong><\/p>\n<p>With our <a title=\"linux cPanel hosting\" href=\"https:\/\/www.milesweb.co.uk\/hosting\/cpanel-hosting\" target=\"_blank\" rel=\"noopener\">linux cPanel hosting<\/a> packages, you can set the cron jobs with few clicks &amp; selecting the appropriate options from the dropdown.<br \/>\n<!--more--><br \/>\n<a href=\"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-688\" src=\"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg\" alt=\"cron jobs\" width=\"683\" height=\"259\" srcset=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg 683w, https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs-300x113.jpg 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/a><\/p>\n<p>Cron jobs can be accessible by logging into your cPanel &gt;&gt; Advanced &gt;&gt; Cron jobs. You can set unlimited cron jobs with hosting packages at <a title=\"Milesweb Internet Services\" href=\"https:\/\/www.milesweb.co.uk\/\" target=\"_blank\" rel=\"noopener\"><strong>MilesWeb<\/strong><\/a>.<\/p>\n<p>Read: <a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-edit-delete-cron-jobs-cpanel\/\">How to Add, Edit and Delete Cron Jobs in cPanel<\/a><\/p>\n<p><span style=\"border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px\/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c  no-repeat scroll 3px 50% \/ 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer; top: 499px; left: 91px;\">Save<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cron jobs allow you to automate certain commands or scripts on your site. You can set a command or script to run at a specific time every day, week, etc. For example, you could set a cron job to delete temporary files every week to free up disk space. Schedulers which will do work for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,4],"tags":[],"class_list":["post-685","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-cpanel-faq","category-web-hosting-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cron jobs (cPanel)<\/title>\n<meta name=\"description\" content=\"A cron job automates certain commands or scripts on your website. You can schedule a script or command to run each day, week, or month at a specific time.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cron jobs (cPanel)\" \/>\n<meta property=\"og:description\" content=\"A cron job automates certain commands or scripts on your website. You can schedule a script or command to run each day, week, or month at a specific time.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-11T11:16:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-06T06:51:27+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/\",\"name\":\"Cron jobs (cPanel)\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg\",\"datePublished\":\"2013-03-11T11:16:27+00:00\",\"dateModified\":\"2023-02-06T06:51:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"A cron job automates certain commands or scripts on your website. You can schedule a script or command to run each day, week, or month at a specific time.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#primaryimage\",\"url\":\"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg\",\"contentUrl\":\"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cron jobs (cPanel)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"caption\":\"admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cron jobs (cPanel)","description":"A cron job automates certain commands or scripts on your website. You can schedule a script or command to run each day, week, or month at a specific time.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"Cron jobs (cPanel)","og_description":"A cron job automates certain commands or scripts on your website. You can schedule a script or command to run each day, week, or month at a specific time.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2013-03-11T11:16:27+00:00","article_modified_time":"2023-02-06T06:51:27+00:00","og_image":[{"url":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg","type":"","width":"","height":""}],"author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/","name":"Cron jobs (cPanel)","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#primaryimage"},"thumbnailUrl":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg","datePublished":"2013-03-11T11:16:27+00:00","dateModified":"2023-02-06T06:51:27+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"A cron job automates certain commands or scripts on your website. You can schedule a script or command to run each day, week, or month at a specific time.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#primaryimage","url":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg","contentUrl":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2013\/03\/cron-jobs.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/cron-jobs-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Cron jobs (cPanel)"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","caption":"admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/admin\/"}]}},"views":1692,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=685"}],"version-history":[{"count":11,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/685\/revisions"}],"predecessor-version":[{"id":14677,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/685\/revisions\/14677"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}