• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue Scheduled tasks option absent in Plesk

Lyman Zerga

New Pleskian
Hi,

For my website I need to set a Cron command in Plesk. On the Plesk website and numerous others the advice is to click the 'Scheduled Tasks' option in 'Websites & Domains'. However, this option is not present in the 'Websites & Domains' tab. This is what I see as options:
Untitled.png
Another suggested option was to create a shell script with crontab commands to run the desired file. I created a cron.sh file with the following code:

Code:
#!/bin/sh

crontab -e
* * * * * httpdocs/MySQL/FTPConnection.php
ls -l httpdocs/cron.sh
chmod +x httpdocs/cron.sh
ls -l httpdocs/cron.sh

This does not work, nor do other (absolute) file paths. I do not know whether this is because I made an error with the shell script or because shell scripting is not enabled for my user account (I am not the website admin but am allowed to change the website content). There is no 'bin' directory visible in the 'Files' tab for my domain.

Can anybody help me how to implement a scheduled task to run my PHP file in Plesk?

Regards,
Lyman Zerga
 
Make sure that "Scheduler management" permission is enabled for this subscription. You can set this permission in corresponding Service Plan and then sync it with subscriptions. After that you will see:

Screenshot at Mar 15 11-10-51.png
 
Back
Top