diff --git a/src/Appwrite/Platform/Tasks/ScheduleBase.php b/src/Appwrite/Platform/Tasks/ScheduleBase.php index 67ef04cce6..dfa33fad38 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleBase.php +++ b/src/Appwrite/Platform/Tasks/ScheduleBase.php @@ -289,6 +289,8 @@ abstract class ScheduleBase extends Action } if (!empty($scheduleIdsToDelete)) { + Console::info('Deleting ' . count($scheduleIdsToDelete) . ' orphaned schedules'); + go(function () use ($dbForPlatform, $scheduleIdsToDelete) { $dbForPlatform->deleteDocuments('schedules', [ Query::equal('$id', $scheduleIdsToDelete),