• Hey,

    I’ve a few plugins that require wp-cron to function properly (backup, delete pending orders over an hour, delete coupons after 30 minutes) stops functioning when I’ve the plugin activated. The following are the places where the said plugins are active.

    1. Backup everyday
    Only enabled in backend by global disable and filter added for backend only

    2. Delete Pending Orders
    Globally enabled

    3. Delete coupons in 30 minutes from issued
    Enabled in shop, cart, checkout & backend

    Disabling PO sorts all the wp-cron issues and they fire and work normally as expected. I’ve also tried firing cron from linux crontab but that doesn’t fix it either.

    Log from my backup plugin
    ———– ——- ——- It has been 18 seconds since the next step was scheduled. Checking cron schedule.
    17:45:23.01 0.30sec 16.84MB Warning: WordPress reports the next step is not currently scheduled. It is either in the process of running or went missing. Consider enabled advanced setting missing cron rescheduling if this persists.
    17:45:23.01 0.30sec 16.84MB Warning: WordPress reports the next step is not currently scheduled. It is either in the process of running or went missing. Consider enabled advanced setting missing cron rescheduling if this persists.
    17:45:19.92 0.30sec 16.84MB Pong! Server replied.
    17:45:23.01 0.30sec 16.84MB Fileoptions load using 0.03 MB of memory.
    ———– ——- ——- Ping? Waiting for server . . .
    ———– ——- ——- It has been 21 seconds since the next step was scheduled. Checking cron schedule.
    ———– ——- ——- *** POSSIBLE ISSUE ***
    ———– ——- ——- * ABOUT: BackupBuddy uses WordPress’ scheduling system (cron) for running each backup step. Sometimes something interferes with this scheduling preventing the next step from running.
    ———– ——- ——- * POSSIBLE FIX: If there are delays but the backup proceeds anyways then you can ignore this. If not, you will need to narrow down the problem first.
    ———– ——- ——- * MORE INFORMATION: Narrow down the problem: Run BackupBuddy in classic mode which bypasses the cron. Navigate to Settings: Advanced Settings / Troubleshooting tab: Change “Default global backup method” to Classic Mode (v1.x). If either of these fixes it, another plugin is most likely the cause is a malfunctioning plugin or a server problem. Disable all other plugins to see if this solves the problem. If it does then it is a problem plugin. Enable one by one until the problem returns to determine the culprit.

    • This topic was modified 7 years, 3 months ago by Pramathesh. Reason: Added more information
    • This topic was modified 7 years, 3 months ago by Pramathesh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    Did you disable any of these plugins with Plugin Organizer? If so you need to figure out where they need to be enabled to allow the cron job to run.

    Plugin Author Jeff Sterup

    (@foomagoo)

    There is a tool on the Plugin Organizer settings page that you can use to see where a plugin is disabled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-Cron Error’ is closed to new replies.