{"id":4035,"date":"2021-05-24T14:44:14","date_gmt":"2021-05-24T19:44:14","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4035"},"modified":"2021-05-24T14:51:46","modified_gmt":"2021-05-24T19:51:46","slug":"chia-harvester-start-script-for-ubuntu","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/chia-harvester-start-script-for-ubuntu\/","title":{"rendered":"Chia Harvester start script for Ubuntu"},"content":{"rendered":"\n<p>This is a basic script for starting the Chia Harvester on Ubuntu.  You can download the script <a href=\"https:\/\/incredigeek.com\/home\/downloads\/ChiaScripts\/StartHarvester.sh\">here <\/a>or use the following commands to download with wget.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/incredigeek.com\/home\/downloads\/ChiaScripts\/StartHarvester.sh\nchmod +x StartHarvester.sh\n.\/StartHarvester.sh<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>Here is the script contents.  <\/p>\n\n\n\n<div style=\"height: 250px; position:relative; margin-bottom: 50px;\" class=\"wp-block-simple-code-block-ace\"><pre class=\"wp-block-simple-code-block-ace\" style=\"position:absolute;top:0;right:0;bottom:0;left:0\" data-mode=\"php\" data-theme=\"monokai\" data-fontsize=\"14\" data-lines=\"Infinity\" data-showlines=\"true\" data-copy=\"false\">#!\/bin\/bash\n\n# Script for starting the Chia Harvester\n\ncd ~\/chia-blockchain\/\n. .\/activate\nchia start harvester\n\nsleep 5\n\nif ( echo $(ps aux | grep -v grep | grep chia_harvester) | grep chia_harvester); then \n    echo \"Harvester started\"\nelse\n    echo \"Looks like the harvester is not running, try manually checking and\/or running the commands to figure out what is wrong.\"\nfi\n<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This is a basic script for starting the Chia Harvester on Ubuntu. You can download the script here or use the following commands to download with wget. wget https:\/\/incredigeek.com\/home\/downloads\/ChiaScripts\/StartHarvester.sh chmod +x StartHarvester.sh .\/StartHarvester.sh Here is the script contents.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1210,434],"tags":[1209,435,1223,243,49],"class_list":["post-4035","post","type-post","status-publish","format-standard","hentry","category-chia","category-crypto-currency","tag-chia","tag-crypto","tag-harvester","tag-scripts","tag-ubuntu-2"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4035"}],"version-history":[{"count":4,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4035\/revisions"}],"predecessor-version":[{"id":4039,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4035\/revisions\/4039"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}