diff --git a/src/Appwrite/Platform/Tasks/ScheduleExecutions.php b/src/Appwrite/Platform/Tasks/ScheduleExecutions.php index 3524793e4f..f961037b2e 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleExecutions.php +++ b/src/Appwrite/Platform/Tasks/ScheduleExecutions.php @@ -70,7 +70,8 @@ class ScheduleExecutions extends ScheduleBase ->setHeaders($data['headers'] ?? []) ->setBody($data['body'] ?? '') ->setProject($schedule['project']) - ->setUserId($data['userId'] ?? ''); + ->setUserId($data['userId'] ?? '') + ->trigger(); }); $dbForPlatform->deleteDocument(