Plesk for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
Question
How to add a scheduled task in Plesk UI using crontab syntax?
Answer
-
Navigate to Domains > example.com > Scheduled tasks or Tools & Settings > 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:
CONFIG_TEXT: * */4 * * *
-
Fill in the Command text field with the cron command, for example:
CONFIG_TEXT: /usr/bin/echo "my message"
Comments
4 comments
There is no such menu in domains. Scheduled tasks or Tools & Settings > Scheduled Tasks does not exist there
"Scheduled task" menu is missing because it was disabled in your service plan. Please contact Plesk server administrator and ask him to enable this menu.
how can we run cron job between 9 to 5 pm every hour
Hi Steel Bis,
This should be checked directly with Cron schedule syntax, see here: https://crontab.guru/#0_9-17_*_*_*
Please sign in to leave a comment.