• fresch

    (@fresch)


    This is a follow-up thread from
    https://wordpress.org/support/topic/cronjobs-not-running/

    So, I’ve contacted my host and according to them, whilst crons are disabled on the hosts’ end, internal WP crons should run fine, which they don’t. I was able to manually run them by opening wp-cron.php via the website, but it seems like they aren’t triggering automatically.

    My scheduled posts miss their schedule, regular crons don’t run at all (until I manually run them), the only thing that works is the missed schedule plugin I got – when I load the website myself, the missed schedule post uploads itself automatically just fine. Other crons, on the other hand, don’t run.

    I last ran my wp-cron.php 2 days ago, and since then none of the scheduled crons have run, despite my statistics plugin showing a handful of people visiting the site since then.

    Are there any troubleshooting steps I could take to check the configuration? Perhaps I misconfigured something.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    Interesting that this has still not been resolved. I just have one more idea:

    Do you have SSH access? Then try running a cron event manually via WP CLI, see: https://developer.wordpress.org/cli/commands/cron/event/ – if that doesn’t work, an error message should be displayed. My suspicion would be that this could be that the domain is not reachable or access is blocked (HTTP status 403 or similar).

    Thread Starter fresch

    (@fresch)

    I don’t think I have SSH access.

    as far as I know, the error that domain access is blocked is normal, from the host’s end.

    “This does not work on InfinityFree. Websites on InfinityFree use a security system that blocks automated access to websites hosted here. This also affects WordPress trying to access it’s own website. Connections like that may result in a 403 Forbidden response, or receiving the HTML code for the security challenge.”

    Moderator threadi

    (@threadi)

    This would explain why the cronjobs are not running, because this resolution would be necessary.

    I can only see one alternative: switch to system cronjobs as described here: https://kinsta.com/knowledgebase/disable-wp-cron/ – if your hoster does not offer a cronjob for this, you can also use an external service such as https://cron-job.org.

    If this is not feasible for you, I would recommend moving the project to another hoster.

    Thread Starter fresch

    (@fresch)

    This would explain why the cronjobs are not running, because this resolution would be necessary.

    that’s rather interesting, as the host has said that WP crons should not be affected. Alright, thanks. Guess I’ll have to stick to manually running crons for now, as I don’t really have any other idea where else to host my hobby site.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Issues with cronjobs’ is closed to new replies.