There are two types of scheduled tasks in Plesk:
- Customer scheduled tasks. This type of task can be created by both Customers and Administrators. They are executed on behalf of a system user. Such tasks do not provide access to the filesystem outside of the document root of the website.
- Administrator scheduled tasks. This type of task can be created by Administrators only. They are executed on behalf of the root user. Such tasks provide write access to the whole filesystem.
Navigate to Domains > example.com > Scheduled tasks ( Customer scheduled tasks ) or Tools & Settings > Scheduled Tasks ( Administrator scheduled tasks )
Click Add task and set specify Run parameter to Cron style.
Fill in the Run text field with cron-style time syntax, for example:
* */4 * * *
Fill in the Command text field with the cron command, for example:
/usr/bin/echo "my message"
* To do it through CLI (Command-line interface), the crontab system utility can be used: crontab(1) — Linux manual page