8

Enable Cron for wp-cron.php

  • Live

Avatar
Joel Wolfgang

WordPress's built-in Cron only really works if people are visiting the website. If people aren't it won't run the cron when you want it or need it.

There is a simple Cron you can set up to hit the wp-cron.php file.

*/5 * * * * cd /var/www/example.com/public; php -q wp-cron.php >/dev/null 2>&1

Could we get a toggle to turn this on? Rather than have to enter the server through SSH to turn it on for each site?

A

Activity Newest / Oldest

S

Steve Bell

Status changed to: Live

D

Dave Mroz

It would also be awesome if this could be done at the server level for all sites on the box


Avatar

Craig Martin

And add the cron-disable constant in WP-config at the same time?