Cron function to delete the past events qutomatically