The following snippet will let you delete trash on daily basis automatically.