Project

General

Profile

Actions

Bug #22900

closed

Easy Appointments plugin creates thousands of cronjobs

Added by Raymond Hoh 15 days ago. Updated 12 days ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress Plugins
Target version:
Start date:
2025-06-06
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

While looking into https://redmine.gc.cuny.edu/issues/21964#note-36, I've discovered that the Easy Appointments plugin has been creating thousands of cronjobs since the last maintenance release update on May 27th due to not checking for the existence of their cronjob before scheduling another job.

This has created a large backlog in Cavalcade, our scheduled tasks runner, of about four days. Their plugin has more than 670,000 jobs in the backlog!

> select site,hook,count(*) from wp_cavalcade_jobs where hook = 'easyapp_hourly_event' and status = 'waiting' group by site order by count(*);
+-------+----------------------+----------+
| site  | hook                 | count(*) |
+-------+----------------------+----------+
| 25751 | easyapp_hourly_event |        2 |
| 22688 | easyapp_hourly_event |        5 |
| 26672 | easyapp_hourly_event |       20 |
| 23078 | easyapp_hourly_event |       21 |
| 26673 | easyapp_hourly_event |       22 |
| 28741 | easyapp_hourly_event |       66 |
| 25076 | easyapp_hourly_event |       69 |
| 26910 | easyapp_hourly_event |      170 |
| 25677 | easyapp_hourly_event |   165335 |
| 22476 | easyapp_hourly_event |   166856 |
| 27356 | easyapp_hourly_event |   171831 |
| 34629 | easyapp_hourly_event |   173548 |
+-------+----------------------+----------+
12 rows in set (2.597 sec)

This issue was also reported on the wp.org forums here: https://wordpress.org/support/topic/easyapp_hourly_event-being-created-hundreds-of-times/.

Fortunately, there's a new release of the plugin that addresses this issue. I will commit and push the new release to production and then do some task clean up.

Actions

Also available in: Atom PDF