Posted: July 6, 2023 at 3:50 am
|
Hi, I recently raised this ticket about time to release incomplete bookings: Since the answer I reduced the time to 30 minutes. My customer is still concerned
She mentioned a couple of events to me, but they are showing correctly at the moment. Version we are currently using is 5.0.7. Do you have other customers experiencing similar problems? Is there anything else we can do? Thanks, Anita |
Hi there,
If they are showing correctly, then EE must be releasing the registration, right? Unless the admin has already adjusted to fix those? If you installed the WP Crontrol plugin: https://wordpress.org/plugins/wp-crontrol/ Then go to Dashboard -> Tools -> Cron Events Can you see any notices about WP_CRON being disabled? |
|
|
Hi Tony, I would have thought so, but she may have adjusted them before she went away. I exported the events from WP Crontrol, removed the non-EE ones and sorted descending by nextrun. It looks ok to me, but could you check please? Results in this file: pastefile.com/pme1q8 There is also this one which has a very long hook name and made the others very difficult to read when printed on one page: Thanks, Anita |
Hi Anita, You have crons in there from days ago, that’s not correct. Can you send me temp login credentials so I can take a look at the cron events? |
|
|
Thanks Tony, I have sent the requested login details. Anita |
Ok, so WP_CRON has been disabled on your site, so your client is right the registrations will not be released, because there is nothing to trigger them to be released. At the top of the Cron events table is this:
That’s “normal” and is ok as long as the host (or whoever disabled WP_CRON) also set up a real cron on the server to trigger the cron jobs. A quick explanation so you can follow this… WP_CRON is a pseudo cron, you can’t set up real crons through WordPress itself it has to be done on the server. So what WordPress does with WP_CRON is check in the background for any scheduled tasks in on every single request: Site visit 1 – check for wp_cron jobs… nope none to run. As you can see that’s happening on every single page visit so it’s inefficient but the best available without a ‘real’ cron. Hosts don’t like WP_CRON as it basically doubles the amount of work every request does (one for the actual page your visiting and one for the wp_cron check). A real cron sits on the server and runs at a specific interval (which you set when you set up the cron), as it’s within the server OS itself it runs without any intervention at the exact time it should. So right now, it looks like your site has WP_CRON disabled but no ‘real’ cron has been set up to replace it. So I’d recommend just creating that cron and you’ll find details on that here: Who is your host? They may have a doc themselves for this. |
|
|
Thanks Tony, Not sure who the host is, but they use cPanel. I followed the instructions in that article to add a cron job with that I found a similar job with this command: Now when I look at the Cron Events in WP Crontrol, there are none in the past. |
I’d recommend using every 5 mins as the message system uses WP_CRON, so using 15 mins means it can take up to 30mins for messages to work through your message queue, 5mins means up to 10 (there are 2 stages for messages, generating and sending).
Great! So because |
|
|
Thanks Tony, I’ve changed the frequency to Anita |
|
Thanks Tony, I’ve changed the frequency to Anita |
That should be fine 🙂 Let me know if you still run into issues. |
|
The support post ‘Concern about EventEspresso not releasing abandoned registrations’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.