Issue #2160493 by jlbellido: Cron process doesn't delete registers from DB.