• Resolved heatpumps4pools

    (@heatpumps4pools)


    Hi

    We are using WP-Lister Lite for eBay Version 3.3.0

    Every day we receive several emails stating that the cron job called wplister_update_auctions has failed to complete

    the message is

    “WP-Cron started but failed to complete. Normally a failure here or there is not something to be concerned about. You may want to look into the failures if they happen fairly consistently.

    The reason for a failed cron could be one of many factors. It could indicate a coding error due to a plugin or conflict of plugins, it could indicate your server ran out of resources, or it could just mean the event did not finish within 5 minutes

    The following hooks failed to complete. This can also be seen in the Tools -> WP Cron Status page on https://heatpumps4pools.com

    ? 09/09/2022 11:22pm
    o wplister_update_auctions
    ? 09/10/2022 12:22am
    o wplister_update_auctions
    ? 09/10/2022 01:22am
    o wplister_update_auctions
    ? 09/10/2022 02:22am
    o wplister_update_auctions
    ? 09/10/2022 03:22am
    o wplister_update_auctions
    ? 09/10/2022 04:22am
    o wplister_update_auctions
    ? 09/10/2022 05:23am
    o wplister_update_auctions
    ? 09/10/2022 06:22am
    o wplister_update_auctions
    ? 09/10/2022 07:22am
    o wplister_update_auctions
    ? 09/10/2022 08:23am
    o wplister_update_auctions
    ? 09/10/2022 09:23am
    o wplister_update_auctions
    ? 09/10/2022 10:23am
    o wplister_update_auctions
    ? 09/10/2022 11:23am
    o wplister_update_auctions
    ? 09/10/2022 12:22pm
    o wplister_update_auctions
    ? 09/10/2022 01:22pm
    o wplister_update_auctions
    ? 09/10/2022 02:22pm
    o wplister_update_auctions
    ? 09/10/2022 03:22pm
    o wplister_update_auctions
    ? 09/10/2022 04:23pm
    o wplister_update_auctions
    ? 09/10/2022 05:23pm
    o wplister_update_auctions
    ? 09/10/2022 06:22pm
    o wplister_update_auctions
    ? 09/10/2022 07:22pm
    o wplister_update_auctions
    ? 09/10/2022 08:22pm
    o wplister_update_auctions
    ? 09/10/2022 09:22pm
    o wplister_update_auctions
    ? 09/10/2022 10:23pm
    o wplister_update_auctions”

    All other cron jobs are working normally

    I have checked the plugin settings and they all seem ok

    please advise how we can resolve this

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support WP Lab Support

    (@wp-lab-support)

    Hi @heatpumps4pools

    Thanks for reaching out to us.

    Whenever using an internal cron job and issues arise with the cron job and WP-Lister, we recommend simply setting up an external cron job for WP-Lister. An exteranl cron job is more reliable way to manage the cron job, and should resolve these issues.

    You can read here, how to set up an external cron job for WP-Lister.

    Kind regards,
    John

    Thread Starter heatpumps4pools

    (@heatpumps4pools)

    thanks for the reply

    I setup an external cron job on the server using the command

    wget -q -O – https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks >/dev/null 2>&1

    I set it to run for twice per hour

    However when I look under the plugin general settings page > Update Schedule, it says

    “Last run: 2 months ago ”

    so I dont think it is working

    If I manually put this URL into a browser,.

    https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks

    it just shows “0”

    does this mean it is working or failed?

    I am using this plugin on two sites and both have the same error and I receive the same error email every day for both sites

    I also recently moved both sites to a new hosting platform. These errors were occuring before and are still occuring after the hosting move and so I dont think it is hosting related

    please advise how I can resolve this and get the plugin working

    thank you

    Plugin Support WP Lab Support

    (@wp-lab-support)

    Hi @heatpumps4pools

    That would indicate the cron job is not working properly.

    Unfortunately, due to every server setup/configuration being different, your best bet is to reach out to your host and have them look at that external cron job to determine why it is not firing.

    For example, I have seen a few cases where some hosts did not have the “wget”command installed and that stopped our cron job from working. This required the host to modify our cron job command.

    The cron job command in our documentation works for all of our users. If it is not firing for you, you have to reach out to your host, as it is related to the server.

    I have never witnessed a single case where our cron job command did not work on a site/server, and it was something related to our documentation/command, it is always related to the server configuration.

    Kind regards,
    John

    Thread Starter heatpumps4pools

    (@heatpumps4pools)

    Hi

    this isssue is still not resolved and the external cron is still not working for the WPLister plugin

    I contacted the hosting company as advised to check if the cron job is running

    they confirmed that it is running ok

    here is an extract from the server logs

    2022-10-01 06:00:01.000383 CMD: u1455-jbwcxo1xcuge wget -q -O - https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks >/dev/null 2>&1 
    
    2022-10-01 06:30:01.000597 CMD: u1455-jbwcxo1xcuge wget -q -O - https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks >/dev/null 2>&1 
    
    2022-10-01 07:00:01.000621 CMD: u1455-jbwcxo1xcuge wget -q -O - https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks >/dev/null 2>&1 
    
    2022-10-01 07:30:01.000222 CMD: u1455-jbwcxo1xcuge wget -q -O - https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks >/dev/null 2>&1

    however the WPLister plugin still reports that it has not run for 2-months

    if I put the following into a browser

    https://heatpumps4pools.com/wp-admin/admin-ajax.php?action=wplister_run_scheduled_tasks

    then it returns either:-

    “There has been a critical error on this website.”

    OR

    “0”

    please try it yourself

    Please advise why the task is not working either with an external cron or using the WPCron.

    How can I get it to work?

    thank you

    [Moderator note: Please, No bumping].

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