Wp-cron.php cronjob setup, is correct?


I’m try to setup cronjob for my wordpress website, i going to my panel and [undefined=undefined]goodies>>cron jobs>>add new[/undefined]

and i put this in [undefined=undefined]command to run[/undefined]:

[undefined=undefined]/usr/bin/php /home/username/mywebsite.com/wp-cron.php > /dev/null 2>&1[/undefined]

is that correct???

wp-cron runs automatically when people visit your site (or rather, it checks to see if it needs to run). Unless you’ve disabled wp-cron, you shouldn’t need to schedule anything. However, assuming you did, it works like this :slight_smile:

(I only suggest that because it works better on Multisite and I plan for the future. Oooohhhhmmm. )

the fact is that I did it, i disable cron in wp-config.php. my question here is, should I put that code in “command to run” ??? of cron job???


command to run:

curl http://example.com/wp-cron.php

Yep :slight_smile: Just put your domain instead of example.com, o’course

Apparently it did not work =(, I get the following message:

Missed schedule

any recommendation?

I took a look at your cron job:

The ONLY word I changed was ‘domain’

Your problem? You have ‘username’ in there and not your actual username :slight_smile:

Hola, yo también tengo este problema, no he podido configurar el cron job pluggin wp-matic en Dreamhost.

Cron command:

*/20 * * * * /usr/bin/curl http://www.name.com/wp-content/plugins/wp-o-matic/cron.php?code=58f00549

WebCron-ready URL:


y me tira el error “This field is for the command only, do not enter cron scheduling information here!”

Hola manolo yo pude resolver mi problema con la siguiente solución:


Hello manolo I could solve my problem with the following solution :slight_smile:
ops, i do a big mistake, thanks a loot Ipstenu-DH :smiley:

I was able to add this:

curl http://www.name.com/wp-content/plugins/wp-o-matic/cron.php?code=58f00549

And cron didn’t give any errors.

hello, is there a way to check that cron are setup correctly ? I do not get any email, so maybe it means that it’s fine, but how to confirm ? Thanks.

To run cronjobs I use www.easycron.com which allows great control, it sends out alerts email if a cron job fails or succeeds.