• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

How do I create a cronjob?

JoseSPAIN

Basic Pleskian
How do I create a cronjob?

If I do it from: Tools and Settings -> Scheduled Tasks -> user: root, it works perfectly this:

*/2 * * * * curl http://www.domain.es/index.php

If I do it from the scheduled tasks of a subscription does not work, I get an email with an error What should I do?
 
I shows: /usr/bin/curl

and if indicated, shows me: hello, what I wrote in the index.php correctly

So I did not know what to do
 
First of all make sure you have enabled schedule tasks permissions to that subscription. Also check to ensure that you have a cron job already set in

/var/spool/cron/
 
Back
Top