{"id":8479,"date":"2022-09-02T11:27:25","date_gmt":"2022-09-02T11:27:25","guid":{"rendered":"https:\/\/clustercs.com\/kb\/?docs=docly-documentation\/domain-management\/utility\/set-up-cronjobs"},"modified":"2022-09-05T09:06:44","modified_gmt":"2022-09-05T09:06:44","slug":"set-up-cronjobs","status":"publish","type":"docs","link":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/","title":{"rendered":"Set up Cronjobs"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>If you want something done at a certain time, you probably want a cronjob for it.<\/p>\n\n\n\n<p>ClusterCS offers a simple way to manage your cronjobs. First thing to do is to navigate to the Cronjob tab on your domain and Add a cronjob:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"904\" height=\"286\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png\" alt=\"\" class=\"wp-image-8649\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png 904w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10-300x95.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10-768x243.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10-600x190.png 600w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<p>Our Control Panel offers predefined times at which you might want to execute the command, or you can set yourself a Custom time:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"507\" height=\"228\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-11.png\" alt=\"\" class=\"wp-image-8651\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-11.png 507w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-11-300x135.png 300w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/figure>\n\n\n\n<p>If you chose Custom, some important things to remember:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>* \u2013&nbsp;<\/strong>means every possible number for that position. For example * in all the fields means the cron will be executed every minute<\/li><li>You can set multiple numbers in a field. For example, if I want a cron to be executed at minutes 36 and 49, I would have<strong>&nbsp;36,49<\/strong>&nbsp;in the minute tab<\/li><li>You can also set ranges.&nbsp;<strong>12-23<\/strong>&nbsp;in the hour tab means every hour between 12:00 and 23:00<\/li><li>Dividers can be used as well, if you want a cron to be used every X minutes\/hours\/days\/months.&nbsp;<strong>*\/30<\/strong>&nbsp;in the minute tab will execute the cron every 30 minutes.<\/li><\/ul>\n\n\n\n<p>The command in a cron can be anything, from simple commands to paths to scrips or even to send emails.<\/p>\n\n\n\n<p>Here is a sample Cron, that executes a shell script every 6 hours:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"732\" height=\"571\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-12.png\" alt=\"\" class=\"wp-image-8652\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-12.png 732w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-12-300x234.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-12-600x468.png 600w\" sizes=\"(max-width: 732px) 100vw, 732px\" \/><\/figure>\n\n\n\n<p>After you successfully added a cron, you should see it in the Cronjobs tab, from where you can edit or deactivate it:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-13.png\" alt=\"\" class=\"wp-image-8653\" srcset=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-13.png 1024w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-13-300x62.png 300w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-13-768x159.png 768w, https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-13-600x124.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now you should be ready to create your own cronjobs to suit your needs!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want something done at a certain time, you probably want a cronjob for it. ClusterCS offers a simple way to manage your cronjobs. First thing to do is to navigate to the Cronjob tab on your domain and Add a cronjob: Our Control Panel offers predefined times at which you might want to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8476,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-8479","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Set up Cronjobs - ClusterCS Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set up Cronjobs - ClusterCS Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"If you want something done at a certain time, you probably want a cronjob for it. ClusterCS offers a simple way to manage your cronjobs. First thing to do is to navigate to the Cronjob tab on your domain and Add a cronjob: Our Control Panel offers predefined times at which you might want to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/\" \/>\n<meta property=\"og:site_name\" content=\"ClusterCS Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-05T09:06:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"904\" \/>\n\t<meta property=\"og:image:height\" content=\"286\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/\",\"url\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/\",\"name\":\"Set up Cronjobs - ClusterCS Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/clustercs.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png\",\"datePublished\":\"2022-09-02T11:27:25+00:00\",\"dateModified\":\"2022-09-05T09:06:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#primaryimage\",\"url\":\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png\",\"contentUrl\":\"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png\",\"width\":904,\"height\":286},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/clustercs.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ClusterCS Documentation\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Domain Management\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Utility\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Set up Cronjobs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/clustercs.com\/kb\/#website\",\"url\":\"https:\/\/clustercs.com\/kb\/\",\"name\":\"ClusterCS Knowledge Base\",\"description\":\"Welcome to ClusterCS Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/clustercs.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set up Cronjobs - ClusterCS Knowledge Base","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:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/","og_locale":"en_US","og_type":"article","og_title":"Set up Cronjobs - ClusterCS Knowledge Base","og_description":"If you want something done at a certain time, you probably want a cronjob for it. ClusterCS offers a simple way to manage your cronjobs. First thing to do is to navigate to the Cronjob tab on your domain and Add a cronjob: Our Control Panel offers predefined times at which you might want to [&hellip;]","og_url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/","og_site_name":"ClusterCS Knowledge Base","article_modified_time":"2022-09-05T09:06:44+00:00","og_image":[{"width":904,"height":286,"url":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/","url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/","name":"Set up Cronjobs - ClusterCS Knowledge Base","isPartOf":{"@id":"https:\/\/clustercs.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#primaryimage"},"image":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#primaryimage"},"thumbnailUrl":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png","datePublished":"2022-09-02T11:27:25+00:00","dateModified":"2022-09-05T09:06:44+00:00","breadcrumb":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#primaryimage","url":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png","contentUrl":"https:\/\/clustercs.com\/kb\/wp-content\/uploads\/2022\/09\/image-10.png","width":904,"height":286},{"@type":"BreadcrumbList","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/set-up-cronjobs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/clustercs.com\/kb\/"},{"@type":"ListItem","position":2,"name":"ClusterCS Documentation","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/"},{"@type":"ListItem","position":3,"name":"Domain Management","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/"},{"@type":"ListItem","position":4,"name":"Utility","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/domain-management\/utility\/"},{"@type":"ListItem","position":5,"name":"Set up Cronjobs"}]},{"@type":"WebSite","@id":"https:\/\/clustercs.com\/kb\/#website","url":"https:\/\/clustercs.com\/kb\/","name":"ClusterCS Knowledge Base","description":"Welcome to ClusterCS Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clustercs.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/comments?post=8479"}],"version-history":[{"count":1,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8479\/revisions"}],"predecessor-version":[{"id":8654,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8479\/revisions\/8654"}],"up":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8476"}],"wp:attachment":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/media?parent=8479"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=8479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}