Obejrzyj Bash drugie

watch -n INTERVAL_IN_SECONDS COMMAND
Powerful Pig