{"id":979,"date":"2010-02-21T01:43:14","date_gmt":"2010-02-21T01:43:14","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=979"},"modified":"2018-01-06T16:49:12","modified_gmt":"2018-01-06T16:49:12","slug":"set-cron-with-password","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/set-cron-with-password\/","title":{"rendered":"Set cron with password?"},"content":{"rendered":"<p>Most of the scripts cron run from admin section and we are settings cron without admin section login details due to that cron never be run.We can set the cron with the admin section login details.Mostly we prefer curl to set the authentication cron because most of the servers blocking <span style=\"color: #000000;\">wget\/lynx command.Simply we can set the cron with the following syntax. <\/span><\/p>\n<p><span style=\"color: #800000;\">\/usr\/bin\/curl http:\/\/support:1q2w3e@www.yourdomain.com\/test_script\/cron.php<\/span><\/p>\n<p>If you don&#8217;t want to receive cron result in E-mail then refer following sytax<\/p>\n<p><span style=\"color: #800000;\">\/usr\/bin\/curl http:\/\/support:1q2w3e@www.yourdomain.com\/test_script\/cron.php\u00a0 &gt; \/dev\/null 2&gt;&amp;1<\/span><\/p>\n<p><a href=\"https:\/\/www.ktchost.com\/wordpress-hosting.html\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2016\/09\/footer-2.png\" alt=\"\" border=\"0\" width=\"468\" height=\"60\"  \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Most of the scripts cron run from admin section and we are settings cron without admin section login details due to that cron never be <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/set-cron-with-password\/\" title=\"Set cron with password?\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,44],"tags":[],"class_list":["post-979","post","type-post","status-publish","format-standard","hentry","category-commands","category-linux"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/979"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=979"}],"version-history":[{"count":11,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/979\/revisions"}],"predecessor-version":[{"id":6186,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/979\/revisions\/6186"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}