• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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