How can I print a message every 10 secondes but I doesn't want to not be able to use other command in my programe, I want like a "timer"?

Daok