{"id":379,"date":"2014-07-16T23:27:30","date_gmt":"2014-07-16T23:27:30","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=379"},"modified":"2014-07-16T23:27:30","modified_gmt":"2014-07-16T23:27:30","slug":"cron-job-not-firing-in-plesk","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/07\/16\/cron-job-not-firing-in-plesk\/","title":{"rendered":"Cron Job not working in Plesk Domain"},"content":{"rendered":"<p>Check you cron job. Make sure the path are okay.<\/p>\n<p>This is likely due to Plesk using a chrooted environment. The user that is executing the script doesn&#8217;t have access to PHP. You have a few options:<\/p>\n<p>1. Add PHP to the user&#8217;s chroot &#8211; <a href=\"http:\/\/kb.sp.parallels.com\/en\/115842\" target=\"_blank\" rel=\"noopener\">http:\/\/kb.sp.parallels.com\/en\/115842<\/a><br \/>\n2. Disable the chrooted environment entirely &#8211; <a href=\"http:\/\/blog.blums.eu\/2013\/01\/25\/parallels-plesk-panel-11-non-chrooted-cronjobs\" target=\"_blank\" rel=\"noopener\">http:\/\/blog.blums.eu\/2013\/01\/25\/parallels-plesk-panel-11-non-chrooted-cronjobs<\/a><br \/>\n3. Run the script as root because root does have access to PHP (not recommended but if the script is trusted it might be ok).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check you cron job. Make sure the path are okay. This is likely due to Plesk using a chrooted environment. The user that is executing the script doesn&#8217;t have access to PHP. You have a few options: 1. Add PHP to the user&#8217;s chroot &#8211; http:\/\/kb.sp.parallels.com\/en\/115842 2. Disable the chrooted environment entirely &#8211; http:\/\/blog.blums.eu\/2013\/01\/25\/parallels-plesk-panel-11-non-chrooted-cronjobs 3. &#8230; <a title=\"Cron Job not working in Plesk Domain\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/07\/16\/cron-job-not-firing-in-plesk\/\" aria-label=\"Read more about Cron Job not working in Plesk Domain\">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":[21],"tags":[],"class_list":["post-379","post","type-post","status-publish","format-standard","hentry","category-cron"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/379","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=379"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}