script that will be deleting uptime/expired tickets

I was wondering if there is any script that will be deleting all my uptime limit/ expired tickets in my userman instead of me doing it manually.

Thanks.

follow it here : http://forum.mikrotik.com/t/solved-expired-user-manager-users/45119/1

Thanks for your response and the link provided but at the end no script and will really like to know how that poster figured out the problem.