thanks for that. can someone provide the code to do that automatically?
a cron job maybe?

thanks