Forum Replies Created
-
AuthorPosts
-
3mediawebParticipant
Hi Barry and Sky,
I have downloaded a copy of the file, so please feel free to remove it now if needed.
We will go over your suggestions and apply them where possible to see if this can be resolved. We very much appreciate your work on troubleshooting this issue for us.
3mediawebParticipantHi Sky,
Are there any updates on this issue?
3mediawebParticipantHello,
I had disabled it in order to test an external cron service easycron.com but experienced the same result so I just enabled the cron in WP.
I used your test of changing the “Create recurring events in advance for” from 6 months to 7 months and then manually ran the “tribe-recurrence-cron” job and then checked and it did not generate any more events even though it said “Successfully executed the cron event tribe-recurrence-cron”.
I then manually edited the event and clicked Update and then it created additional events. So it looks like the cron is not doing anything but manually updating the event is.
3mediawebParticipantThis reply is private.
3mediawebParticipantSky,
Past events a month old don’t seem to be cleaned up either. We’ve set the site up to clean up events that are at least a month old.
- This reply was modified 5 years, 11 months ago by 3mediaweb.
3mediawebParticipantHi Sky,
We had moved away from setting recurrences too far in the future, as we had previously found that setting such a high threshold for recurrences really taxes our site, or cause it to time out. A lower threshold of 2 months recurrence and 1 month for cleanup, seemed to work better.
We disabled all but the EC Pro plugins and WP Crontrol, and set theme to Twenty Seventeen. We refreshed one of our main event category pages and manually ran the cron job for the Recurrence creation. Still no events being autogenerated after that, though WP Crontrol says the cron job ran successfully. We also set up an external cron and disabled the site’s internal cron, but that reports no cron failures either. Refreshed the category page for the events that should be generating recurrences, but they’re still not populating into the next 2 months. Only upon adding a brand new recurring event, or hitting Update on an existing event, do recurrences get created.
As we have many events already entered into the calendar, this would be a bit tedious and not guarantee that the recurrences will be generated when the next batch should be generated. The automatic generation is not working, though all signs in cron say that it should be firing.
3mediawebParticipantSky,
Here are some examples. Every Sunday, there are four recurring events: Step, Cycle & Core, Yogalates and FitKids.
Screenshot from calendar: https://www.screencast.com/t/6rE8gBv4
All four events: https://www.screencast.com/t/4MkSXGq6o53
Settings on the “Step” event: https://www.screencast.com/t/tgBDw0uGd90Y
Same applies for the other 3 events.
All events are set for indefinite recurrence, and as you saw previously, site is supposed to generate recurring events 2 months in advance. But as you can see, all recurrences stop short.
3mediawebParticipantHi Sky,
Here are our settings for the Recurring Events under General: https://www.screencast.com/t/JvgZhgdH
We have recurring events set to generate up to 2 months in advance, and to clean up events older than 1 month.
Here’s a screenshot of the current month of April: https://www.screencast.com/t/K8mRIBE9o
and month of May: https://www.screencast.com/t/uRD1diGoq
As you can see, recurring events are fine for the first few weeks but then they start dropping off as the month progresses. Some events seem to keep on going, but I think that’s because those specific events were manually Updated so that would trigger their recurrences. We have not manually updated every single event, as we thought maybe the cron job would take care of the rest. However, this is not the case.
See month of February: https://www.screencast.com/t/FJj40VTryyb
Aside from events that were separated from the Series, all recurring events from February should be cleaned up but for some events that doesn’t seem to be the case. I can still see some recurring events available in January too.
wP Crontrol shows that the cron jobs are set to run daily: https://www.screencast.com/t/PkmXh0YsO
Running the cron job did not generate the future events.
3mediawebParticipantHi Sky,
Thanks for your response.
We have a site that is already set up with an array of recurring events that have been set to create recurrences 2 months in advance, and clean up events older than 1 month. The recurrences/cleanups have been reliably generated/cleaned up for a while now, but at the top of April we started noticing that recurrences into May and June were not being created. Instead the number of recurrences from the first week of May onwards drops down, until the following weeks see zero events created where they should be.
We find that if we go into a particular Event series and just hit Update, only then do all its recurrences for the next 2 months get generated. These are events that were created at varying times earlier in 2018, after we had done a massive overhaul of the various schedules posted to the site we manage.
3mediawebParticipantHello,
We are still having issues with recurring events not being autogenerated, and old events not being cleaned up. Is this a known issue?
December 14, 2017 at 12:36 pm in reply to: Cleanup Recurring Events: problems with past events cleanup & categories #14059173mediawebParticipantHi Jaime,
thank you for responding to my query. My further question is, even after changing the event cleanup settings under Events Settings > General, older events aren’t being cleaned up from the site. Does changing the setting and hitting save actually fire off the cleanup process? Or are there additional steps that must be taken? We are primarily looking to clean up all events from October 2017 and older.
-
AuthorPosts