{"id":30918,"date":"2021-02-04T13:16:34","date_gmt":"2021-02-04T05:16:34","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=30918"},"modified":"2022-09-08T21:32:49","modified_gmt":"2022-09-08T13:32:49","slug":"how-to-setup-scheduled-tasks-in-plesk-2","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-setup-scheduled-tasks-in-plesk-2","title":{"rendered":"HOW TO: Setup scheduled tasks in Plesk"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"30918\" class=\"elementor elementor-30918\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5e4ec02 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5e4ec02\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d0b5ee6\" data-id=\"d0b5ee6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4cfdc2d elementor-widget elementor-widget-heading\" data-id=\"4cfdc2d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Add a Scheduled Task<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1fd7606 elementor-widget elementor-widget-text-editor\" data-id=\"1fd7606\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>1. Firstly, login to Plesk.<\/p><p>2. Secondly, click the <strong>Scheduled Tasks<\/strong> link on the upper right corner.<\/p><p>3. Before adding a task, let\u2019s click <strong>Settings<\/strong>. Set your time zone, then click\u00a0<strong>OK<\/strong>.<\/p><p>4. Then, click <strong>Add Task<\/strong>.<\/p><p>5. Determine the<strong> Task Type<\/strong>.<\/p><ul><li style=\"list-style-type: none;\"><ul><li><strong>Run a Command<\/strong> &#8211; specify the command to run, including the path to where the command is.<\/li><li><strong>Fetch a URL<\/strong> &#8211; send a request (cURL) to a specific URL.<\/li><li><strong>Run a PHP script<\/strong> &#8211; specify the path to the script relative to your virtual host directory. You can also specify the PHP version.<\/li><\/ul><\/li><\/ul><p>6. After that, specify when and how often you want the task to run under <strong>Run<\/strong> section.<\/p><p>7. Enter a note or comment in the <strong>Description<\/strong> text box or you can leave it blank.<\/p><p>8. Then, specify how often and who to send notifications to under <strong>Notify<\/strong> section.<\/p><p>9. Lastly, click <strong>OK <\/strong>when ready.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-74fca22 elementor-widget elementor-widget-heading\" data-id=\"74fca22\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Edit a Scheduled Task<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6c75737 elementor-widget elementor-widget-text-editor\" data-id=\"6c75737\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>1. Firstly, login to Plesk.<\/p><p>2. Next, click <strong>Scheduled Tasks<\/strong> in the right sidebar.\u00a0<\/p><p>3. Lastly, select and edit the scheduled task.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b2df2e0 elementor-widget elementor-widget-heading\" data-id=\"b2df2e0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Remove a Scheduled Task<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a5f465 elementor-widget elementor-widget-text-editor\" data-id=\"7a5f465\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>1. Firstly, login to Plesk.<\/p><p>2. Secondly, click <strong>Scheduled Tasks<\/strong> on the upper right corner.<\/p><p>3. Then, check the checkbox for the task that you wish to remove.\u00a0<\/p><p>4. Lastly, click <strong>Remove<\/strong>. Click <strong>Yes<\/strong> to confirm again.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e881a50 elementor-widget elementor-widget-text-editor\" data-id=\"e881a50\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>We hope this article helped you to learn about how to add, edit and remove scheduled tasks in Plesk. For more articles, kindly visit our <a href=\"https:\/\/www.casbay.com.my\/guide\/\">Knowledge Base<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Add a Scheduled Task 1. Firstly, login to Plesk. 2. Secondly, click the Scheduled Tasks link on the upper right corner. 3. Before adding a task, let\u2019s click Settings. Set your time zone, then click\u00a0OK. 4. Then, click Add Task. 5. Determine the Task Type. Run a Command &#8211; specify the command to run, including [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[117],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30918"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=30918"}],"version-history":[{"count":1,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30918\/revisions"}],"predecessor-version":[{"id":31876,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30918\/revisions\/31876"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=30918"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=30918"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=30918"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=30918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}