in reply to program with a timer

I would not recommend using a sleep() command. Why? Because the activity you start between two sleeping can be time consuming (it happens when you are working with web and/or databases), and the total time will not satisfy the 5 minute period. So it will be incorrect.

When you work with sensitive information you can not let yourself do this

-- tune