• Hi

    Recently I had to change the permissions on on a website due to a failed restore. The permissions of some of the folders and files on the server were set to root. This apparently caused the restore plugin to not be able to restore the site due to lack of permissions of folders.

    So I changed all user and groups recursively on the /var/www/ to www-data:www-data which is the username and group held by Apache.

    We are using an Ubuntu with WordPress 5.8 install provided by Digital Ocean

    So far, recently I’ve been noticing the Updraft Backup plugin indicating that there were some scheduled tasks overdue.

    So I recently installed WP-Cron Status Checker which reports there are no issues with WP-Cron

    But the overdue schedule tasks seem to raise so I installed WP Crontrol
    Some of the core WordPress, and other plugins we are using are overdue since the day we had to restore and change the permissions.

    We have set a few articles to get posted tomorrow, so we can see if these fail as well.

    Still, how can I figure out where the issue is? I don’t know how to get any log related to WP-Cron, or any log related to the scheduled processes.

    Site health also reports:
    The scheduled event, wp_version_check, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

    So far, WordPress and plugin updates seem to show on the WordPress dashboard.. In fact today I got the update to WordPress 6.0.2

    What can I do here to solve the issue?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alb2001

    (@alb2001)

    I also installed WP-CLI just now
    If it helps. I have also set define('DISABLE_WP_CRON', true); on wp-config.php so I could run sudo -u www-data wp cron event run --due-now on the wordpress html folder
    I don’t get any output, but running sudo -u www-data wp cron event list shows the events are still there and not running at all

    • This reply was modified 2 years, 6 months ago by alb2001.
    Thread Starter alb2001

    (@alb2001)

    My scheduled posts have missed their schedule. None of the scheduled tasks is working. But supposedly, WP-Cron is working well.

    What is going on here, how can I check logs of all the events. And how can I fix it? I am surprised I didn’t receive any response yet.

    Thank you.

    Thread Starter alb2001

    (@alb2001)

    Hi

    Any idea on what else can I look for?
    All cron events can’t be executed manually either!

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Scheduler issues’ is closed to new replies.