{"id":479,"date":"2019-11-28T13:57:39","date_gmt":"2019-11-28T12:57:39","guid":{"rendered":"https:\/\/www.combell.com\/en\/help\/?post_type=ht_kb&#038;p=479"},"modified":"2022-09-26T09:23:20","modified_gmt":"2022-09-26T07:23:20","slug":"how-can-i-create-manage-a-scheduled-task-with-plesk","status":"publish","type":"ht_kb","link":"https:\/\/www.combell.com\/en\/help\/kb\/how-can-i-create-manage-a-scheduled-task-with-plesk\/","title":{"rendered":"How can I create \/ manage a scheduled task with Plesk?"},"content":{"rendered":"<p>A scheduled task, also commonly referred to as a cronjob, is a task the server will perform regularly, by command in a pre-defined period. Let\u2019s give an example with creating a cronjob to generate backups on a Linux server.<\/p>\n<ol>\n<li>Log in your Plesk control panel.<\/li>\n<li>Navigate to the horizontal menu at the top.<\/li>\n<li>Click on \u2018Server\u2019.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5386 size-full\" src=\"https:\/\/www.combell.com\/en\/help\/wp-content\/uploads\/2019\/11\/How-can-I-create-manage-a-scheduled-task-with-Plesk1.png\" alt=\"Tab 'Server'\" width=\"994\" height=\"939\"><\/li>\n<li>Under the \u2018Tools &amp; Resources\u2019 section, click on \u2018Scheduled tasks\u2019.<img decoding=\"async\" class=\"alignnone wp-image-5387 size-full\" src=\"https:\/\/www.combell.com\/en\/help\/wp-content\/uploads\/2019\/11\/How-can-I-create-manage-a-scheduled-task-with-Plesk2.png\" alt=\"Tools &amp; resource > Scheduled tasks&#8221; width=&#8221;212&#8243; height=&#8221;198&#8243;><\/li>\n<li>Choose the system user account that will execute the task \u2013 backup.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5388 size-full\" src=\"https:\/\/www.combell.com\/en\/help\/wp-content\/uploads\/2019\/11\/How-can-I-create-manage-a-scheduled-task-with-Plesk3.png\" alt=\"Choose the system user account\" width=\"1009\" height=\"809\"><\/li>\n<li>Click \u2018Schedule New Task\u2019.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5389 size-full\" src=\"https:\/\/www.combell.com\/en\/help\/wp-content\/uploads\/2019\/11\/How-can-I-create-manage-a-scheduled-task-with-Plesk4.png\" alt=\"Schedule New Task\" width=\"1010\" height=\"318\"><\/li>\n<li>If you would like the backup to be executed every day at one minute after midnight enter:\n<ol>\n<li>1 for minutes<\/li>\n<li>0 for hour<\/li>\n<li>* for the day.<\/li>\n<li>* for the month<\/li>\n<li>* for the day of the week<\/li>\n<li>The following command will create a backup and send it to your email: \/usr\/local\/psa\/admin\/sbin\/backupmng<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5390 size-full\" src=\"https:\/\/www.combell.com\/en\/help\/wp-content\/uploads\/2019\/11\/How-can-I-create-manage-a-scheduled-task-with-Plesk5.png\" alt=\"Schedule task\" width=\"1003\" height=\"621\"><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>A scheduled task, also commonly referred to as a cronjob, is a task the server will perform regularly, by command in a pre-defined period. Let\u2019s give an example with creating a cronjob to generate backups on a Linux server. Log in your Plesk control panel. Navigate to the horizontal menu&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[38,24],"ht-kb-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb\/479"}],"collection":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/comments?post=479"}],"version-history":[{"count":9,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb\/479\/revisions"}],"predecessor-version":[{"id":3990,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb\/479\/revisions\/3990"}],"wp:attachment":[{"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb-category?post=479"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.combell.com\/en\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}