1. Home
  2. Knowledge Base
  3. VPS
  4. Plesk control panel: general
  5. How can I create / manage a scheduled task with Plesk?

How can I create / manage a scheduled task with Plesk?

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’s give an example with creating a cronjob to generate backups on a Linux server.

  1. Log in your Plesk control panel.
  2. Navigate to the horizontal menu at the top.
  3. Click on ‘Server’.Tab 'Server'
  4. Under the ‘Tools & Resources’ section, click on ‘Scheduled tasks’.Tools & resource srcset= Scheduled tasks” width=”212″ height=”198″>
  5. Choose the system user account that will execute the task – backup.Choose the system user account
  6. Click ‘Schedule New Task’.Schedule New Task
  7. If you would like the backup to be executed every day at one minute after midnight enter:
    1. 1 for minutes
    2. 0 for hour
    3. * for the day.
    4. * for the month
    5. * for the day of the week
    6. The following command will create a backup and send it to your email: /usr/local/psa/admin/sbin/backupmngSchedule task
Updated on 26 September 2022

Was this article helpful?

Related Articles

Comments

Comments are closed.