• Angus CS

    (@anguscs)


    Darko

    I have been having issues with Cron Jobs taking excessive I/Os, so have installed Advanced Cron Manager Pro to monitor my Cron jobs. I have noticed that one of the cron jobs for ip-location-block has an error that you may not be aware of.

    The error I am getting is that the ip_location_block_cron job takes 600 seconds to determine there is an error of [Undefined array key “HTTP_USER_AGENT” in /home/username/public_html/wp-content/plugins/ip-location-block/classes/class-ip-location-block.php at line 376]

    Gus

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Darko G.

    (@darkog)

    Thanks for reporting the issue Gus,

    We will fix this in the coming version.

    Thread Starter Angus CS

    (@anguscs)

    Thank you. Great tool that is a must have for me.

    Thread Starter Angus CS

    (@anguscs)

    @darko – While I am waiting for a new version, can I disable that cron job as I think it is causing issues with the server I am running on and my ISP doesn’t love me (well they want me to pay more money anyway)

    Thread Starter Angus CS

    (@anguscs)

    @darko – I notice that IP Location Block has updated, but the new version has not fixed the cron job. Can you tell me if you will have a fix for this soon as it is causing my server to exceed allowed limits daily (causes a fault in my I/O limits when it tries to run).

    I tried running the cron Job manually and there was no error, so I re-enabled it and now I get the same error overnight when it runs on schedule.

    Gus

    Plugin Author Darko G.

    (@darkog)

    Hey @anguscs,

    I tried to reproduce this issue but without success.

    I am thinking that it has something to do with your ISP preventing the plugin to download the databases via the cron task and therefore it hits your upper limit of 600s for a timeout.

    Please consider lowering the PHP execution time to optimal value (30-60s) and also contact our support via the support portal or [email protected] to get technical support.

    Best Regards,
    Darko

    Thread Starter Angus CS

    (@anguscs)

    Darko

    Not sure your idea is correct. I believe this started at the time of the 6.54 update.

    Gus

    Thread Starter Angus CS

    (@anguscs)

    Also, I can execute manually, it only fails on scheduled runs. Therefore I do not believe the ISP is blocking access.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cron job errors’ is closed to new replies.