• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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