Implementing cron behaviour for entity delete