diff --git a/cronjobs/indexcontent.php b/cronjobs/indexcontent.php
index <HASH>..<HASH> 100644
--- a/cronjobs/indexcontent.php
+++ b/cronjobs/indexcontent.php
@@ -62,6 +62,8 @@ while( true )
                     if ( !( $node instanceof eZContentObjectTreeNode ) )
                     {
                         $cli->error( "An error occured while trying fetching node $nodeId" );
+                        $db->query( "DELETE FROM ezpending_actions WHERE action = '$action' AND param = '$objectID'" );
+                        $db->commit();
                         continue;
                     }
Fix EZP-<I>: Delayed indexing should fail gracefully on trashed / broken node