• Resolved Crish

    (@carrie_wood)


    Hello

    I have created the one custom ‘PHP Cron Event’ for every five minutes but it will not run properly.

    This will cron run whenever i have open admin page or front page.

    why it is happening if any page is open by user or admin then cron will be run ine.
    if not open any page then cron will not.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Is WP Crontrol showing you any warning messages?

    Thread Starter Crish

    (@carrie_wood)

    Hello,

    Thanks for feedback us.

    But there is not any warning message in code or at any.

    can you please checking by create a php cron which sent the simple mail and it’s run every five minutes.

    then do not refresh any admin page or front page.

    check just mail after 5 min , have you got mail ? check mail 2 to 3 times every 5 min

    wait some time then after 15 to 20 min refresh the any admin page or front page.
    and check your mail.

    you can checking by this way..

    Thanks!

    • This reply was modified 5 years, 6 months ago by Crish.
    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    If there’s no traffic to your website then your events will miss their schedule. More info here: https://github.com/johnbillion/wp-crontrol/wiki/Cron-events-that-have-missed-their-schedule

    If your website is receiving regular traffic but the events still aren’t running then you’ll need to contact your web hosting provider.

    Thread Starter Crish

    (@carrie_wood)

    Hello

    Thanks for guild with cron job information with details.

    Thank you so much @johnbillion 🙂

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

The topic ‘Cron Job not run until the page open’ is closed to new replies.