• Resolved Dave

    (@tlwh)


    There seem to be a lot of cron jobs running every 5 minutes.

    What is the reasons for this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    A lot? There should be one, possibly two, unless your site is auto-generating a lot of images. They are health checks that look to see if there are any images left in the queue to optimize: either from image uploads, or from a plugin/theme that auto-generates images.

    Thread Starter Dave

    (@tlwh)

    A lot meaning it was set to run 2 cron jobs every 5 mins.

    There’s nothing physically creating new images. Really like the plugin but I’ve disabled it for now.

    I didn’t notice this problem a few updates ago as I went through various cron jobs about 6 months ago to see if anything was eating up CPU. Nothing was and this plugin was enabled back then too.

    • This reply was modified 8 years, 2 months ago by Dave.
    Plugin Author nosilver4u

    (@nosilver4u)

    Those cron-jobs don’t eat any CPU either. They run a single database query, and if it finds nothing, just exits right away, so you don’t need to worry about that.

    Plugin Author nosilver4u

    (@nosilver4u)

    What was the name of the cronjob(s)? Just realized my last post was a bit wrong. The cronjobs shouldn’t even exist once the queue has finished. I’m working out some kinks with the background testing process though, so perhaps that was one of them? Anyway, knowing the names of the cronjobs would help immensely.

    Thread Starter Dave

    (@tlwh)

    Here are the names. I just updated to the latest version too
    wp_ewwwio_ngg2_optimize_cron_interval 300 (5 minutes) Every 5 Minutes
    wp_ewwwio_flag_optimize_cron_interval 300 (5 minutes) Every 5 Minutes
    wp_ewwwio_ngg_optimize_cron_interval 300 (5 minutes) Every 5 Minutes
    wp_ewwwio_image_optimize_cron_interval 300 (5 minutes) Every 5 Minutes
    wp_ewwwio_media_optimize_cron_interval 300 (5 minutes) Every 5 Minutes

    Plugin Author nosilver4u

    (@nosilver4u)

    Lost track of this thread, and just found it again. Having those cronjobs seems to indicate there are unfinished images in the queue. If you are still having trouble, turn on debugging, and see what shows up on the Image Queue Debugging page (in the Media menu)

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